This only happened in FF, not in Chrome or other browsers. I got the log below:
[error] ... *2 part header is too long, client: ...
But I can upload images and other resources smaller than 10k, it's very strange.
This only happened in FF, not in Chrome or other browsers. I got the log below:
[error] ... *2 part header is too long, client: ...
But I can upload images and other resources smaller than 10k, it's very strange.
Remember that cookies are included in the headers. Do you get the same result if you clear private data in Firefox?
If you know that the files you want to receive will be larger than 10k, try increasing the allowed header size in the Nginx config.
I resolved this problem by add Accept
into header as below:
XMLHttpRequest.setRequestHeader('Accept', '*/*');
I fought chrome set header accept */*
and ff don't do like this.