atauenis / webone

HTTP 1.x proxy that makes old web browsers usable again in the Web 2.0 world.
Other
518 stars 18 forks source link

304 NotModified from pypi.org returns unknown/unknown Content-Type #99

Closed WunderWungiel closed 1 year ago

WunderWungiel commented 1 year ago

Hello If I visit pypi.org for second time, it returns 304 NotModified but with incorrect unknown/unknown Content-Type. This breaks pip package manager. When I visit it normally, natively through browser and I get 304 it doesn't return any Content-Type (which is ok and works with pip) but unknown/unknown breaks it. Is there any fix? Or how can I clear WebOne cache, so it will forcibly redownload site contents (and so give 200 instead of 304?)?

atauenis commented 1 year ago

This was a design error in WebOne 0.15.3 and 0.16 Beta 2. Now I've fixed it, so the next version will not have this bug.