Skip to main content
style and layout
Source Link
Antoine Subit
  • 10k
  • 4
  • 40
  • 53

Explanation

There**There is no thumb rulerule** made for the maximum URL size of HTTP Get`Get` Request as per RFC 2616 (Hypertext Transfer Protocol — HTTP/1.1 – Section 3.2.1).

Limits are imposed by various browsersLimits are imposed by various browsers and respective servers.
These limits must be considered collectively while passing the query string passed in the URL in any of the HTTP Requests.

If the URL size exceeds the URL Size limit imposed by the respective browser, the request will not be passed to the serverthe request will not be passed to the server & unnecessary effort will be required to debug & handle this situation.


Maximum URL Size in HTTP GET RequestBy...

Browser

  1. Internet Explorer

2048 B

Microsoft Internet Explorer has a maximum uniform resource locator (URL) length of 2,083 characters2,083 characters. Internet Explorer also has a maximum path length of 2,048 characters. This limit applies to both POST request and GET request URLs.If you are using the GET method, you are limited to a maximum of 2,048 characters, minus the number of characters in the actual path.

  1. Mozilla Firefox

100 KB

The address bar doesn’t shows any characters beyond 65,536 characters. But the URL Size can be more than that65,536 characters. But the URL size can be more than that, though you cannot view it in the address bar. This holds for FireFox 1.5 up until the current FireFox version

  1. Opera

200 KB

The URL is completely visible in the address bar even at such a big range

  1. Chrome,Safari

100 KB

Both browsers are webkit based and seems to have almost same limit as firefoxsame limit as firefox


Server

  1. Apache

128 KB

The size is changed using the LimitRequestLine setting of the server

  1. IIS

16 KB

Default value is 16 KB and maximum limit is 16 MB

  1. Lotus Notes

4 KB


Further Information

Very long URLs are not recommended at all.
For a web based application to be cross browser compatible, the Get`Get` Method must**must not be usedused** for passing very long strings, containing more than 2000 characters.   

If you are facing a situation where you need to use URLs to contain huge number of characters, then give it another thought.

Explanation

There is no thumb rule made for the maximum URL size of HTTP Get Request as per RFC 2616 (Hypertext Transfer Protocol — HTTP/1.1 – Section 3.2.1).

Limits are imposed by various browsers and respective servers.
These limits must be considered collectively while passing the query string passed in the URL in any of the HTTP Requests.

If the URL size exceeds the URL Size limit imposed by the respective browser, the request will not be passed to the server & unnecessary effort will be required to debug & handle this situation.


Maximum URL Size in HTTP GET Request

Browser

  1. Internet Explorer

2048 B

Microsoft Internet Explorer has a maximum uniform resource locator (URL) length of 2,083 characters. Internet Explorer also has a maximum path length of 2,048 characters. This limit applies to both POST request and GET request URLs.If you are using the GET method, you are limited to a maximum of 2,048 characters, minus the number of characters in the actual path.

  1. Mozilla Firefox

100 KB

The address bar doesn’t shows any characters beyond 65,536 characters. But the URL Size can be more than that, though you cannot view it in the address bar. This holds for FireFox 1.5 up until the current FireFox version

  1. Opera

200 KB

The URL is completely visible in the address bar even at such a big range

  1. Chrome,Safari

100 KB

Both browsers are webkit based and seems to have almost same limit as firefox


Server

  1. Apache

128 KB

The size is changed using the LimitRequestLine setting of the server

  1. IIS

16 KB

Default value is 16 KB and maximum limit is 16 MB

  1. Lotus Notes

4 KB


Further Information

Very long URLs are not recommended at all.
For a web based application to be cross browser compatible, the Get Method must not be used for passing very long strings, containing more than 2000 characters.  

If you are facing a situation where you need to use URLs to contain huge number of characters, then give it another thought

Explanation

**There is no thumb rule** made for the maximum URL size of HTTP `Get` Request as per RFC 2616 (Hypertext Transfer Protocol — HTTP/1.1 – Section 3.2.1).

Limits are imposed by various browsers and respective servers.
These limits must be considered collectively while passing the query string passed in the URL in any of the HTTP Requests.

If the URL size exceeds the URL Size limit imposed by the respective browser, the request will not be passed to the server & unnecessary effort will be required to debug & handle this situation.


Maximum URL Size By...

Browser

  1. Internet Explorer

2048 B

Microsoft Internet Explorer has a maximum uniform resource locator (URL) length of 2,083 characters. Internet Explorer also has a maximum path length of 2,048 characters. This limit applies to both POST request and GET request URLs.If you are using the GET method, you are limited to a maximum of 2,048 characters, minus the number of characters in the actual path.

  1. Mozilla Firefox

100 KB

The address bar doesn’t shows any characters beyond 65,536 characters. But the URL size can be more than that, though you cannot view it in the address bar. This holds for FireFox 1.5 up until the current FireFox version

  1. Opera

200 KB

The URL is completely visible in the address bar even at such a big range

  1. Chrome,Safari

100 KB

Both browsers are webkit based and seems to have almost same limit as firefox


Server

  1. Apache

128 KB

The size is changed using the LimitRequestLine setting of the server

  1. IIS

16 KB

Default value is 16 KB and maximum limit is 16 MB

  1. Lotus Notes

4 KB


Further Information

Very long URLs are not recommended at all.
For a web based application to be cross browser compatible, the `Get` Method **must not be used** for passing very long strings, containing more than 2000 characters. 

If you are facing a situation where you need to use URLs to contain huge number of characters, then give it another thought.

Source Link
Antoine Subit
  • 10k
  • 4
  • 40
  • 53

Explanation

There is no thumb rule made for the maximum URL size of HTTP Get Request as per RFC 2616 (Hypertext Transfer Protocol — HTTP/1.1 – Section 3.2.1).

Limits are imposed by various browsers and respective servers.
These limits must be considered collectively while passing the query string passed in the URL in any of the HTTP Requests.

If the URL size exceeds the URL Size limit imposed by the respective browser, the request will not be passed to the server & unnecessary effort will be required to debug & handle this situation.


Maximum URL Size in HTTP GET Request

Browser

  1. Internet Explorer

2048 B

Microsoft Internet Explorer has a maximum uniform resource locator (URL) length of 2,083 characters. Internet Explorer also has a maximum path length of 2,048 characters. This limit applies to both POST request and GET request URLs.If you are using the GET method, you are limited to a maximum of 2,048 characters, minus the number of characters in the actual path.

  1. Mozilla Firefox

100 KB

The address bar doesn’t shows any characters beyond 65,536 characters. But the URL Size can be more than that, though you cannot view it in the address bar. This holds for FireFox 1.5 up until the current FireFox version

  1. Opera

200 KB

The URL is completely visible in the address bar even at such a big range

  1. Chrome,Safari

100 KB

Both browsers are webkit based and seems to have almost same limit as firefox


Server

  1. Apache

128 KB

The size is changed using the LimitRequestLine setting of the server

  1. IIS

16 KB

Default value is 16 KB and maximum limit is 16 MB

  1. Lotus Notes

4 KB


Further Information

Very long URLs are not recommended at all.
For a web based application to be cross browser compatible, the Get Method must not be used for passing very long strings, containing more than 2000 characters.

If you are facing a situation where you need to use URLs to contain huge number of characters, then give it another thought