content_type: how is it supposed to work?
21 Feb
2011
21 Feb
'11
4:52 p.m.
Hi, before I open an issue on GitHub, I'd like to understand whether content_type is supposed to set the 'Content-Type' header for the next answer or not. From a quick test I've done, it seems that content_type has no effect on the outgoing headers, while setting: header 'Content-Type' => 'application/whatever'; does set the content-type to the value I want. Am I missing something or is there some bug in content_type? Cheers, Flavio.
5373
Age (days ago)
5373
Last active (days ago)
0 comments
1 participants
participants (1)
-
Flavio Poletti