idtyu's avatar
Level 1

Uploading file with multipart/form-data and content-length in header causes timeout

Hi:

I keep getting timeout on Lumen 5.4, when I try to use multipart/form-data with Content-Length set, it either times out (in insomnia) or cannot get a Request body (from postman) , when I dump $request->all(), it is empty.

My Header looks like this:

Accept: "*/*; q=0.5, application/xml"
Accept-Encoding: gzip, deflate
Content-Length:12700
Content-Type:multipart/form-data
boundary:265834
0 likes
0 replies

Please or to participate in this conversation.