Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add default option on head requests #430
Okay, I had some more time and was able to refactor this a bit to make it more easily testable, then add specs.
I went with the "principle of least surprise" approach outlined by xunker, ensuring that head requests maintain the HEAD method across all redirects, unless the user specifies