-
Notifications
You must be signed in to change notification settings - Fork 43
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
Allow transform non-2xx request to 2xx request in simple mode. #2
Comments
That is a very good idea! This would mean the transform function would just change the function (body, response, resolveWithFullResponse) {
// Get data from the cache etc.
response.statusCode = 200
return response
} However, this solution doesn't go with |
If |
Just to make sure I really understand you correctly:
Correct? Or are you working with |
Yep this is my opinion. I tried to working with Transform non-304 into rejection under Sincerely 2016-09-28 1:35 GMT+08:00 Nicolai Kamenzky [email protected]:
|
Used in transform 304 response to 200 response with local cache.
The text was updated successfully, but these errors were encountered: