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

Update parseResponseHeaders to work in fastboot. #5502

Merged
merged 2 commits into from Jun 27, 2018

Conversation

ryanto
Copy link
Contributor

@ryanto ryanto commented Jun 24, 2018

On nix systems the headers will be delimited with only a newline (\n) character.

This PR changes the split to \r?\n, which will work for all fastboot environments as well as browsers.

@ryanto ryanto changed the title Update parseResponseHeaders so it works in fastboot. Update parseResponseHeaders to work in fastboot. Jun 24, 2018
@ryanto
Copy link
Contributor Author

ryanto commented Jun 24, 2018

hmm. not sure what to do about this failure: https://travis-ci.org/emberjs/data/jobs/396162028

@runspired
Copy link
Contributor

@ryanto if you rebase I pinned the offending package and your test run will continue :)

On nix systems the headers will be delimited with only a newline (\n) character.

This PR changes the split to \r?\n, which will work for all fastboot environments as well as browsers.
@ryanto ryanto force-pushed the fastboot-handleresponse-headers branch from 73240ca to 6acdbee Compare June 27, 2018 15:12
@runspired runspired merged commit d584076 into emberjs:master Jun 27, 2018
rwjblue pushed a commit that referenced this pull request Jun 29, 2018
* Update parseResponseHeaders so it works in fastboot.

On nix systems the headers will be delimited with only a newline (\n) character.

This PR changes the split to \r?\n, which will work for all fastboot environments as well as browsers.

* Fix eslint errors

(cherry picked from commit d584076)
NullVoxPopuli pushed a commit to NullVoxPopuli/data that referenced this pull request Sep 8, 2018
* Update parseResponseHeaders so it works in fastboot.

On nix systems the headers will be delimited with only a newline (\n) character.

This PR changes the split to \r?\n, which will work for all fastboot environments as well as browsers.

* Fix eslint errors
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