Maximum length of HTTP GET request

前端 未结 7 1990
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-21 05:24

What\'s the maximum length of an HTTP GET request?

Is there a response error defined that the server can/should return if it receives a GET request that exceeds this

7条回答
  •  南方客
    南方客 (楼主)
    2020-11-21 05:25

    As already mentioned, HTTP itself doesn't impose any hard-coded limit on request length; but browsers have limits ranging on the 2048 character allowed in the GET method.

提交回复
热议问题