Reputation: 7199
Is there/what is the maximum length of the query string when doing an AJAX GET request? More specifically, I am doing cross-domain AJAX using an image:
img = new Image();
img.src = "http://www.otherdomain.com/something.gif?long_query_string=long........";
What is the limit on the query string here?
Upvotes: 10
Views: 16702
Reputation: 625347
There is no defined limit in any specification. The effective or prescribed limit is 2048 characters. Certain browsers and Webserver will have problems with longer.
Upvotes: 12