Re: httplib continuation packets

2006-11-13 Thread Haakon Riiser
[Steve Holden] > It really does seem quite bizarre that a server should respond > differently to the same TCP request when it is split differently into IP > datagrams. > > There really is nothing wrong (from a standards point of view) with > sending FIN with your last data segment. FIN means "I

Re: httplib continuation packets

2006-11-13 Thread Steve Holden
Haakon Riiser wrote: > [Fredrik Lundh] > >> Haakon Riiser wrote: >> >>> Yes, and it doesn't help. >> then the server is mostly likely broken beyond repair. > > It's not in my power to upgrade the server, unfortunately. > Guess I'll have to use Perl. > >> to see if this really is the problem, you

Re: httplib continuation packets

2006-11-11 Thread Haakon Riiser
[Fredrik Lundh] > Haakon Riiser wrote: > >> Yes, and it doesn't help. > > then the server is mostly likely broken beyond repair. It's not in my power to upgrade the server, unfortunately. Guess I'll have to use Perl. > to see if this really is the problem, you could try moving the call to > sel

Re: httplib continuation packets

2006-11-11 Thread Fredrik Lundh
Haakon Riiser wrote: > Yes, and it doesn't help. then the server is mostly likely broken beyond repair. > By the way, this is the closest thing I've found in the bug tracker: > https://sourceforge.net/tracker/?func=detail&atid=105470&aid=547093&group_id=5470 > The bug was closed in 2002 with thi

Re: httplib continuation packets

2006-11-11 Thread Haakon Riiser
[Fredrik Lundh] > Haakon Riiser wrote: > >> Is this a bug in httplib or the web server? > > it could be that they're blocking requests from Python's urllib, of > course. have you tried overriding the user-agent string ? Yes, and it doesn't help. By the way, this is the closest thing I've found

Re: httplib continuation packets

2006-11-11 Thread Fredrik Lundh
Haakon Riiser wrote: > Is this a bug in httplib or the web server? it could be that they're blocking requests from Python's urllib, of course. have you tried overriding the user-agent string ? -- http://mail.python.org/mailman/listinfo/python-list

httplib continuation packets

2006-11-11 Thread Haakon Riiser
After a long debugging session while scripting my webmail, I believe I have traced the problem to the way httplib sends POST requests. I have compared tcpdump listings from Python 2.4.3 and 2.5.0's httplib (via urllib/urllib2), Perl's LWP::UserAgent 2.033 and Firefox 2.0. Only Python sends the re