[Rails] Re: Duplicate headers

Tim Bates tim at bates.id.au
Sat Nov 13 02:43:56 GMT 2004


Gleb Arshinov wrote:
>     Tim> @headers["Content-Type"] = "image/png"
> 
> Also, in similar code I do:
> 
>     @response.headers["Content-Type"] = "text/plain"

Thanks for the suggestion. When I tried to recreate the original problem 
today, I couldn't repeat it. The above worked, as did my original code. 
I don't know what changed in the meantime, so I'm a little perplexed.

Tim.

-- 
Tim Bates
tim at bates.id.au


More information about the Rails mailing list