Discussion is in #3436
This allows people using the :head method to pass content_type as an option.
The other issue in #3436 is what the value should be set to by default. As I note, according to the RFC the head method content-type value should be set to the value which would be received under content-negotiation for a GET request to the same resource. As this is a much more complicated and separate issue, I do not attempt to solve it here.
Add failing test re #3436 which demonstrates content_type is not resp…
…ected when using the :head method/shortcut
If content_type is explicitly passed to the :head method use the valu…
…e or fallback
Also, I sent the pull to 3-2 stable, I can change this if desired.
This looks good, please send a pull request for master!