Skip to content

Don't attempt to parse bodies that only contain spaces. #309

Merged
merged 1 commit into from Aug 22, 2012

2 participants

@twoism
twoism commented Aug 22, 2012

Rails 2.x head responses return a single space as the body. This is due to a Safari bug where the headers
are not passed if the content length is zero.

@twoism twoism Don't attempt to parse bodies that only contain spaces.
  Rails 2.x head responses return a single space as
  the body. This is due to a Safari bug where the headers
  are not passed if the content length is zero.
2a191ea
@sferik sferik merged commit d4318f4 into sferik:master Aug 22, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.