Fallback to GET when HEAD is not allowed

A possible implementation of #274.