I'm trying to setup a Merb cluster + attachment_fu to handle uploads for a client's Rails app.<br><br>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.
<br><br>responder.rb line 37<br><br> def initialize(accept_header, params={})<br> MERB_LOGGER.info accept_header<br> @accepts = Responder.parse(accept_header)<br> @params = params<br> @stack = {}
<br> end<br><br clear="all">@accepts seems to be later on used in negotiate_content() l84, negotiate_by_format() l92, negotiate_by_accept_header l103<br><br>What's the proper way of dealing with this problem?<br>
<br>Thanks,<br><br>-Matt<br><br>