Sorry for two fixes in single pull request.
PUT and DELETE methods should only send Content-type header if there request has data.
If Location header is not full URL (doesn't start with http/s) it can be passed as id parameter and url_join function will join Location with base_path.
send content-type only if there is data, fix post when location is no…
…t full url
The content type issue addressed here causes issues with servers that are very strict - for example senchalabs/connect#680. Would be nice to see this fixed (for GET requests too).
Fixed POST response content, updated gitignore
Looks good to me.
Fixed POST response serializer
Make slumber not crash on 201 response without Location header
If we get 201 response with no location header, treat is as 200
Merge pull request #1 from overlordtm/patch-1
Can we not get this merged?
Is slumber no longer active?
@alithorn still "active", maintenance mostly - I'll get this merged when I get a moment.
@samgiles I apologize if I sound(ed) presumptuous. Starting a large project and I seriously appreciate the abstraction you are providing but I'm shit scared of having to support a branch of my own if it takes 3 years to get a good change merged...