rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / code / Atom feed
* rack fails to parse multipart mixed request
@ 2011-01-24 23:59 Junglee
  0 siblings, 0 replies; only message in thread
From: Junglee @ 2011-01-24 23:59 UTC (permalink / raw)
  To: Rack Development

Rack fails while parsing incoming mulitpart/mixed request on my
application (rack 2.4, ruby1.9.2, rails3) with an

"EOFError:   bad content body"

more specifically while parsing the request for boundary:
>>gems/rack-1.2.1/lib/rack/utils.rb:495:in 'parse_multipart'

while looking up similar issues, came across this post from last year,
where eventually there was no real solution to problem.

http://groups.google.com/group/rack-devel/browse_thread/thread/c6401ab4c3fd8a13/c2ce9a3722146f15?lnk=gst&q=multipart+mixed#c2ce9a3722146f15

Another post at http://efreedom.com/Question/1-3338196/Rack-110-Error-Parse-Multipart
ended with a remark that no sulution existed in rack world for
multipart/mixed requests. rack (1.10)

Jeremy seems to have added a regression test and fix for it
https://github.com/jeremy/rack/commit/841b0fb0357986f3241483d159368225681bac89

but it doesn't seem to have made its way into rack repository.

Has this situation improved at all? Seems strange that multipart
support is still missing !!

regards,
Anuj

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-01-25  0:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-24 23:59 rack fails to parse multipart mixed request Junglee

Code repositories for project(s) associated with this inbox:

	https://80x24.org/mirrors/rack.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).