What is the maximum possible length of a query string?

前端 未结 3 2013
栀梦
栀梦 2020-11-21 07:34

Is it browser dependent? Also, do different web stacks have different limits on how much data they can get from the request?

3条回答
  •  别跟我提以往
    2020-11-21 08:08

    Different web stacks do support different lengths of http-requests. I know from experience that the early stacks of Safari only supported 4000 characters and thus had difficulty handling ASP.net pages because of the USER-STATE. This is even for POST, so you would have to check the browser and see what the stack limit is. I think that you may reach a limit even on newer browsers. I cannot remember but one of them (IE6, I think) had a limit of 16-bit limit, 32,768 or something.

提交回复
热议问题