Closed tylerstillwater closed 10 years ago
Ideally, the data wouldn't be that big. If it is, a different design might be a better solution.
Otherwise, some browsers will support actual HTTP Post (and not JSONP) which will avoid this.
Mat
Sent from my iPhone
On 28 Apr 2013, at 12:02, Tyler notifications@github.com wrote:
If you try to send a payload over jsonp with the body in the URL string that is too long, everything goes to hell.
We need to figure out how to get that data to the server in a reliable way that isn't affected by size.
— Reply to this email directly or view it on GitHub.
The real solution is to write an additional Transport object that uses real AJAX methods (with real HTTP methods) and not JSONP. This could be done now.
This is to be done for Node.js
If you try to send a payload over jsonp with the body in the URL string that is too long, everything goes to hell.
We need to figure out how to get that data to the server in a reliable way that isn't affected by size.