http://www.perlmonks.org?node_id=153621


in reply to HTTP Post with more than 256 chars

gav^ ++ already hit the nail on the head, but just to clarify a common misconception that I've seen around :

There is no limit in the size of a get request defined in the HTTP 1.0 RFC, nor in the HTTP 1.1 RFC

What exists is the limitation that each web server/browser chooses to implement. You will find diferent limits in each server. Apache, for instance, comes with a documented default maximum of 8190 bytes for requests in include/httpd.h

Even the dark side has a way to change this value in his, er, web server.

So, correct your code. Then, if it is not enough, change your code to POST. And, please, tell the world that there is no limitation in the GET size in the HTTP protocol :-)

-- sevensven or nana korobi, ya oki