Closed beaulac closed 5 months ago
Closes #13
Pass parseBody: false to http-client; add test that remote-loads a context document with Content-Type: application/ld+json.
parseBody: false
Content-Type: application/ld+json
Current test that fetches https://digitalcredentials.github.io/credential-status-playground/JWZM3H8WKU did not catch this bug because the response type from GitHub pages for an extensionless file is applicaton/octet-stream which does not cause the http-client to parse the body.
applicaton/octet-stream
Closes #13
Pass
parseBody: false
to http-client; add test that remote-loads a context document withContent-Type: application/ld+json
.Current test that fetches https://digitalcredentials.github.io/credential-status-playground/JWZM3H8WKU did not catch this bug because the response type from GitHub pages for an extensionless file is
applicaton/octet-stream
which does not cause the http-client to parse the body.