nyx has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to send a large parameter (about 45000 characters) in a POST request, using LWP::UserAgent, but I get 400 Bad Request error. Sending the same request through a browser works fine.
Error message content:<HTML> <HEAD><TITLE>Bad Request</TITLE> <META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"> </HEAD> <BODY><h2>Bad Request - Request Too Long</h2> <hr><p>HTTP Error 400. The size of the request headers is too long.</p> </BODY></HTML>
Settings I used, without success:
How can I make this work?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to send a large message in POST request
by Anonymous Monk on Jul 24, 2013 at 06:48 UTC | |
|
Re: How to send a large message in POST request
by mtmcc (Hermit) on Jul 24, 2013 at 07:18 UTC | |
by nyx (Initiate) on Jul 25, 2013 at 06:49 UTC | |
by mtmcc (Hermit) on Jul 25, 2013 at 06:55 UTC | |
|
Re: How to send a large message in POST request
by rnewsham (Curate) on Jul 24, 2013 at 07:49 UTC | |
|
Re: How to send a large message in POST request
by hippo (Archbishop) on Jul 24, 2013 at 12:07 UTC |