Skip to content
This repository has been archived by the owner on Jan 16, 2018. It is now read-only.

added support for payload in DELETE requests #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

twobitlabs
Copy link

I know that there's some contention about whether DELETE requests should support an HTTP body, but it's not forbidden in the spec, and you're often at the mercy of what the API developer defines, which is the case we ran into recently. Since it's contentious, I added one new method that includes a payload, rather than adding payload to all the existing methods. But I'd be happy to refactor the delete methods to all include a payload if you think that would be cleaner.

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.

2 participants