The limitation of responseText in XMLHttpRequest

958 views Asked by At

As we are known, for XMLHttpRequest, method 'GET' has a limitation of URL length in characters, and 'POST' does not.

So my question is if there is a limitation of responseText or responseXML ?_? i.e. the data which JS get from the Ajax, not the data we post or length of URL.

1

There are 1 answers

0
Nikhil Lende On BEST ANSWER

See this answer: Javascript maximum size for types?

Unless the browser specified otherwise, variable sizes are not subject to a restriction. As for Ajax: There's no limit, unless defined server-side