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

feat(content-type): add warning if a pac file is found but the content-type is invalid #79

Merged

Conversation

jmkerloch
Copy link
Contributor

First thanks for this project. This is really useful to be able to deal with the mess of proxy management.

We are using pypac in one of our project related to QGIS profile deployment : https://github.com/qgis-deployment/qgis-deployment-toolbelt-cli

This was working for one of our client but suddendly there was no more proxy indicated by pypac.

I did some debug and in fact it came from the fact that the content-type of the pac file changed changed. pypac didn't consider the pac file as valid because the content-type is now text/plain.

I would like pypac to indicate that a pac file was found but that the content-type is invalid.

I added a warning log.

@carsonyl carsonyl merged commit c350277 into carsonyl:master Dec 25, 2024
18 checks passed
@carsonyl
Copy link
Owner

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