Maximum length of HTTP GET request

前端 未结 7 1989
爱一瞬间的悲伤
爱一瞬间的悲伤 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:43

    Browser limits are:

    Browser           Address bar    document.location
                                     or anchor tag
    ---------------------------------------------------
    Chrome                32779           >64k
    Android                8192           >64k
    Firefox                >64k           >64k
    Safari                 >64k           >64k
    Internet Explorer 11   2047           5120
    Edge 16                2047          10240
    

    Want more? See this question on Stack Overflow.

提交回复
热议问题