Skip to content

Conversation

robrwo
Copy link
Contributor

@robrwo robrwo commented Mar 25, 2021

RFC 2616 Sec 14.25 states that:

If the request would normally result in anything other than a
200 (OK) status, ... the response is exactly the same as for
a normal GET.

There is no point in checking the headers if the status code is
something else.

RFC 2616 Sec 14.25 states that:

> If the request would normally result in anything other than a
> 200 (OK) status, ... the response is exactly the same as for
> a normal GET.

There is no point in checking the headers if the status code is
something else.
@miyagawa
Copy link
Member

This seems reasonable. I'll check if there's any expectation around how this middleware behaves when the backend do send 30x.

@robrwo
Copy link
Contributor Author

robrwo commented Sep 3, 2022

Is this alright to merge?

@robrwo
Copy link
Contributor Author

robrwo commented Dec 23, 2022

@miyagawa Any update on merging this? Thanks.

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.

2 participants