-
Notifications
You must be signed in to change notification settings - Fork 18
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
Incorrect handling of status codes. #35
Comments
Hi @AlbinLindskog , Thanks for filling this issue, I've made a PR( #36 ) to fix this bug. |
Impressive! Speedy work. I've confirmed that it works in our setup. Consider releasing a new version with this fix. xcaddy uses the latest version, not the latest commit, so anyone installing the with xcaddy will end up with 0.4.2, unless the explicitly specify the commit. |
Sure, I will create a new release. thx. |
I've created a new release. |
If it's no more problem, I will close this ticket. |
cdp-cache does not handle non-200 responses correctly. The content of the response is handled correctly, but the status code is changed to 200.
Here is a bare-bones project that demonstrates the issue: https://github.com/AlbinLindskog/cpd-cache-bug
The text was updated successfully, but these errors were encountered: