I don't know whether you can convince LWP to do this the way you want or not, but did you look at Net::HTTP? It's labeled "experimental" in the version I have, but I think it'll do what you need; its write_request method seems to print the request in one shot to the socket.
--
Mike
In reply to Re: LWP HTTP Request POST being sent in two packets
by RMGir
in thread LWP HTTP Request POST being sent in two packets
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |