![]() |
|
Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Socket stops at Header not handling Continuationby Duco (Sexton) |
on May 07, 2004 at 22:31 UTC ( #351631=note: print w/replies, xml ) | Need Help?? |
By "Continuation" I assume you mean HTTP's "100 Continue" feature, as documented in the HTTP RFC.
If the client has "Expect: 100-continue" as one if its request headers, then try replying "100 (Continue)\r\n" when you see the blank header (i.e. "\r\n\r\n"). The client should then send the body of the request. After you've received that, then you send the final response as normal.
In Section
Seekers of Perl Wisdom
|
|