I'm trying to setup a Merb cluster + attachment_fu to handle uploads for a
client's Rails app.
I'm using Flash to upload the files and I realized that Merb was giving me
an error for each upload. It turns out that Flash doesn't seem to send an
Accept header and Merb's responder crashes because it's trying to split the
missing Accept header.
responder.rb line 37
def initialize(accept_header, params={})
MERB_LOGGER.info accept_header
@accepts = Responder.parse(accept_header)
@params = params
@stack = {}
end
@accepts seems to be later on used in negotiate_content() l84,
negotiate_by_format() l92, negotiate_by_accept_header l103
What's the proper way of dealing with this problem?
Thanks,
-Matt
_______________________________________________
Merb-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/merb-devel