revert the special case for HEAD method
Merge branch 'revert-HEAD'