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

Set response.ok #6503

Closed
wants to merge 1 commit into from
Closed

Set response.ok #6503

wants to merge 1 commit into from

Conversation

Utsav2
Copy link
Contributor

@Utsav2 Utsav2 commented Jan 15, 2016

Should fix #6390

@robwormald
Copy link
Contributor

thanks for this. when you get the tests passing, please update your commit message to meet the guidelines

@Utsav2 Utsav2 force-pushed the response-ok branch 2 times, most recently from 86d6641 to a5b0d5d Compare January 15, 2016 11:46
The ok property was not being set on response objects.
It's now set based on the status code.

Closes angular#6390
@Utsav2
Copy link
Contributor Author

Utsav2 commented Jan 15, 2016

@robwormald Thanks, have a look now?

@Maks3w
Copy link

Maks3w commented Feb 29, 2016

I think response.ok should be false for any Network Error too

@mhevery mhevery closed this in 9234035 May 25, 2016
KiaraGrouwstra pushed a commit to KiaraGrouwstra/angular that referenced this pull request Jun 21, 2016
The ok property was not being set on response objects.
It's now set based on the status code.

Closes angular#6390
Closes angular#6503
hbkrunal pushed a commit to hbkrunal/angular that referenced this pull request Sep 15, 2016
The ok property was not being set on response objects.
It's now set based on the status code.

Closes angular#6390
Closes angular#6503
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Response ok is sometimes undefined
5 participants