rack/rack — Issue #255: Multipart and Chunked request encoding not working
Author: joeferner
Created: 2011-10-14 18:41:26+00:00
State: open

If a multipart POST is made with "Transfer-Encoding: chunked" the multipart parser will not handle this correctly. Chunked encoded requests do not have content length which the multipart parser relies on to read data. I was able to get it working by changing the read in get_current_head_and_filename_and_content_type_and_name_and_body to always read BUFSIZE. I'm guessing this isn't the optimal solution but it works for my purposes.