Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a maximum size for an HTTP POST? And if there is a max size, is it determined by the protocol or is it at the discretion of the server?

share|improve this question
up vote 18 down vote accepted

The HTTP specification doesn't impose a specific size limit for posts. They will usually be limited by either the web server or the programming technology used to process the form submission.

share|improve this answer

No limit by specification. The limit is MIN(browser_limit,server_limit).

share|improve this answer

I don't think that there is a specific limit in the protocol, BUT there are cases where things get squirrelly if you're transferring huge files. It depends on the size of the file as to what may work a little better for your specific case. There's not any support for checking that the file wasn't corrupted in transfer, for example, unlike using something like a torrent for the transfer.

share|improve this answer
If TCP does its job, the file should be intact. – Justin Scott Jun 14 '10 at 17:24
If TCP does its job, we wouldn't need md5 sums to verify ISO images and other large files :-) – Bart Silverstrim Jun 14 '10 at 18:08
The md5 sums are used to check if source file matches the publisher content file to avoid fakes. TCP does have a package check and chance of error pass without detections is minimum. – cavila Aug 20 '14 at 19:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.