You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Possibly related issues are #490 (Don't work "multipart/form-data" file upload.), #436 (Request.GET drops empty params), #1067 (will there be huge file upload support ?), #3090 (Remove reader parameter from request.multipart()), and #3034 (Multipart file form data with name).
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a [new issue] for related bugs.
If you feel like there's important points made in this discussion, please include those exceprts into that [new issue].
[new issue]: https://github.com/aio-libs/aiohttp/issues/new
Long story short
I am implementing an upload file system, user selects file in html and click upload ,aiohttp server receive and store it in filesystem. thats it.
accroding to [https://docs.aiohttp.org/en/stable/web_quickstart.html#file-uploads](aiohttp official method)
the first method with request handler that reads whole payload worked, but second with multipart reader didnt work.
Expected behaviour
multipart reader reads payload and save file in filesystem
Actual behaviour
multipart reader received nothing
Steps to reproduce
html:
server:
http request:
POST /api/admin/image/poster/upload HTTP/1.1
Host: localhost:52789
Connection: keep-alive
Content-Length: 27023
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
Origin: null
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryB6BTxs8E0K6dZVpG
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.9
Cookie: Admin-Token=admin; sidebarStatus=1
Your environment
python: 3.6
aiohttp:2.3.7
chrome:69.0.3497.100
The text was updated successfully, but these errors were encountered: