Closed jyucsiro closed 4 years ago
https://wicg.github.io/webpackage/draft-yasskin-http-origin-signed-responses.html#section-8.6 is where Chrome seems to have introduced the v=b3
string
Chrome v78 and earlier doesn't seem to be affected
I broke this fix with changes for ConnegP but have now fixed in 3.4: https://github.com/RDFLib/pyLDAPI/commit/8ac446e5f8d667eaa68ad0b03fd2bac37dfdae8c
In newer versions of Chrome, the Accept header sent is:
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Chrome Version: 79.0.3945.88 (Official Build) (64-bit)
This causes an error in pyLDAPI not able to retrieve a format for rendering.
and
r.vf_error
set toThis is where it seems to start processing the Accept header: https://github.com/RDFLib/pyLDAPI/blob/db334627e704416f9f1f812697ec51481676eac8/pyldapi/renderer.py#L276