pypac icon indicating copy to clipboard operation
pypac copied to clipboard

Added option to ignore Content-Type header.

Open KarelChanivecky opened this issue 11 months ago • 5 comments

A kwarg parameter named ignore_content_type was added to get_pac and download_pac. The rationale for adding a new parameter is that it maintain the best backwards compatibility and ease of use. Also considered using accepting a specific value for allowed_content_types. However, I believe that this may be unexpected for current users. The parameter was placed before the 'session' parameter in order to maintain related parameter together. However, it risks breaking usages where all the passed arguments are positional. I leave this last matter in the discretion of the repo maintainer

KarelChanivecky avatar Aug 02 '23 18:08 KarelChanivecky