What is the size limit of a post request?

后端 未结 9 1244
悲&欢浪女
悲&欢浪女 2020-11-22 02:25

Sorry if this is duplicate,I would think it would be but couldn\'t find anything.

I have a flex application that I am posting data back to a php/mysql server via IE.

9条回答
  •  北海茫月
    2020-11-22 02:49

    The url portion of a request (GET and POST) can be limited by both the browser and the server - generally the safe size is 2KB as there are almost no browsers or servers that use a smaller limit.

    The body of a request (POST) is normally* limited by the server on a byte size basis in order to prevent a type of DoS attack (note that this means character escaping can increase the byte size of the body). The most common server setting is 10MB, though all popular servers allow this to be increased or decreased via a setting file or panel.

    *Some exceptions exist with older cell phone or other small device browsers - in those cases it is more a function of heap space reserved for this purpose on the device then anything else.

提交回复
热议问题