Closed buzzeins closed 5 years ago
Hi @buzzeins,
POST /surf/spot/260 HTTP/1.1
but route F.route()
contains /app/elem/{id}
URL addressPlease, try to install Total.js beta $ npm install total.js@beta
and try your example again. I found a bug in upload parser last month ago. Let me know.
Yeah, workin' with @beta now, thanks :D When are you planning the release?
Great. I wanted to publish it previous month. I hope that this new version will be in august.
cool
Hi, got some issue with a multipart/form-data request.
Problem: The same request can be properly passed, or even being trown (unsystematically) with 431 (Request Header Fields Too Large). Like here:
It's exactly the same request...
What's wrong?
Environment:
Node.js : v8.16.0 Total.js : v3.2.4 OS : linux 4.15.0-54-generic Mode : debug
Route
F.route('/app/elem/{id}', save, ['upload', 1024 1024], 1024 1024);
config:
default_request_maxlength : 1048576 default_request_length : 1048576
Request snip example:
POST /surf/spot/260 HTTP/1.1 Connection: keep-alive Content-Length: 5364 Pragma: no-cache Cache-Control: no-cache Accept: application/json, text/plain, text/html, / User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36 Content-Type: multipart/form-data; boundary=----WebKitFormBoundarymYffuyF5Guhyzsna Accept-Encoding: gzip, deflate Accept-Language: de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7