stop sending erroneous headers on redirected requests #355

Merged
merged 1 commit into from Oct 30, 2012

Projects

None yet

2 participants

@azylman
Contributor
azylman commented Oct 30, 2012

if you delete the body, you should also delete any existing content-type and content-length, otherwise you're sending erroneous values: e.g. content-type form-encoded, content-length 1415, empty body 

@azylman azylman fix bug
if you delete the body, you should also delete any existing content-type and content-length, otherwise you're sending erroneous values: e.g. content-type form-encoded, content-length 1415, empty body 
d288d21
@mikeal mikeal merged commit 0e1c0d6 into request:master Oct 30, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment