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

.delete() causes a 400 error #2

Open
mhl opened this issue Dec 5, 2012 · 0 comments
Open

.delete() causes a 400 error #2

mhl opened this issue Dec 5, 2012 · 0 comments

Comments

@mhl
Copy link
Contributor

mhl commented Dec 5, 2012

The server replies with a 400 Bad Request error if you send a request with a Content-Type: application/json but no content. This is correct behaviour - a zero-length string isn't valid JSON. @evdb pointed out that there is an open pull request to fix this in slumber:

samgiles/slumber#32

We should fork slumber, add that patch, and point to our version in requirements.txt until it's fixed upstream.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant