-
-
Notifications
You must be signed in to change notification settings - Fork 736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Head Method #47
Comments
If memory serves me correctly, the supported HTTP methods can be found in scope.js. You'll notice that PATCH and OPTIONS are also missing. It should be fairly trivial to throw together a patch to support additional HTTP methods. |
You can use .intercept(path, method, requestBody, options) like this: nock('http://my.domain.com) I'm adding this to the README. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue and add a reference to this one if it’s related. Thank you! |
Any reason not to support head?
The text was updated successfully, but these errors were encountered: