Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Aug 22, 2012

Conversation

twoism
Copy link
Contributor

@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.

  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.
sferik added a commit that referenced this pull request Aug 22, 2012
Don't attempt to parse bodies that only contain spaces.
@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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants