in reply to LWP HTTP Request POST being sent in two packets

Interesting problem...

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

  • Comment on Re: LWP HTTP Request POST being sent in two packets