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

Adding HTTP status code for transformResponse #4580

Merged
merged 10 commits into from
May 9, 2022
Merged

Adding HTTP status code for transformResponse #4580

merged 10 commits into from
May 9, 2022

Conversation

kaishuu0123
Copy link
Contributor

@kaishuu0123 kaishuu0123 commented Apr 4, 2022

Related Issue

Motivation

  • It would be more useful to get the HTTP status code as well
  • I want to do conditional branching in the transformResponse function using the response status code.

Note

  • Let me know if I'm doing something wrong.

@kaishuu0123
Copy link
Contributor Author

Sorry. Removed include changes to dist/ in my pull request.

@jasonsaayman
Copy link
Member

@kaishuu0123 can you please add some test cases for this

@kaishuu0123
Copy link
Contributor Author

@jasonsaayman I have added one test case.
The test seems to fail, can you run the test again? (FormData TIMEOUT?)

Chrome Headless 101.0.4951.54 (Linux x86_64) FormData should allow FormData posting FAILED
	Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.

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.

3 participants