fix head method, call has a get method
Merge redmine-review-bug-297-the-request-head-get-should-be-handle-properly
reflect changes