Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

#1527 Added Method check for HEAD to validat undefined endpoint #1530

Merged
merged 1 commit into from
Apr 1, 2019

Conversation

jwfrizzell
Copy link

@jwfrizzell jwfrizzell commented Apr 1, 2019

When making the request curl localhost:4002/ob/blah -I the method being passed was HEAD. Added this to the switch case and passed as a get request.

Fixes #1527

Copy link
Member

@placer14 placer14 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fix! LGTM

@placer14
Copy link
Member

placer14 commented Apr 1, 2019

Updated API documentation to reflect support for HEAD requests.

@placer14 placer14 merged commit 80b46e7 into OpenBazaar:master Apr 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants