loris-imageserver / loris

Loris IIIF Image Server
Other
208 stars 87 forks source link

Normalize content-type before extention computation in SimpleHTTPResolver #509

Open damooo opened 4 years ago

damooo commented 4 years ago

fixes #508

alexwlchan commented 4 years ago

Thanks for raising this issue, and the initial patch!

Two suggestions:

damooo commented 4 years ago

It now uses cgi.parse_header, test case updated to issue complex content-type

damooo commented 3 years ago

Hello @alexwlchan, can you merge this patch, so that issue can be fixed?