使用http传递参数,如http://www.csdn.net/indexAction.do?para=........http有没有对传递参数的最大长度做限制?最大长度是多少?

解决方案 »

  1.   

    The HTTP protocol does not place any a priori limit on the length of a URI. Servers MUST be able to handle the URI of any resource they serve, and SHOULD be able to handle URIs of unbounded length if they provide GET-based forms that could generate such URIs. A server SHOULD return 414 (Request-URI Too Long) status if a URI is longer than the server can handle (see section 10.4.15). 
      

  2.   

    采用GET模式的话参数长度是4K以内,如果用POST就没有限制了
      

  3.   

    我不是采用get或者post方式。。直接<a href="url....."></a>这个URL所带的参数能多长阿?
      

  4.   

    这个URL所带的参数能多长阿?
    URL直接带的就是get方式