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

Accept 2xx statuses even for file requests #379

Merged
merged 1 commit into from
Dec 10, 2011
Merged

Accept 2xx statuses even for file requests #379

merged 1 commit into from
Dec 10, 2011

Conversation

khalsah
Copy link
Contributor

@khalsah khalsah commented Sep 6, 2011

XHR requests to the chrome-extension:// protocol seem to return a 200 status on request (not 0). Looking at the history of this project I'm guessing that this wasn't always the case. This commit simply treats 2xx statuses (in addition to 0) as success even for file requests.

cloudhead pushed a commit that referenced this pull request Dec 10, 2011
Accept 2xx statuses even for file requests
@cloudhead cloudhead merged commit 5c94387 into less:master Dec 10, 2011
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