google / webauthndemo

An example Node.js Relying Party implementation of the WebAuthn specification
https://try-webauthn.appspot.com
Apache License 2.0
563 stars 123 forks source link

Fix: The correct Content-Type for json is application/json, not text/json #66

Closed asaph closed 5 years ago

asaph commented 5 years ago

Fix: The correct Content-Type for json is application/json, not text/json

References: https://www.ietf.org/rfc/rfc4627.txt https://stackoverflow.com/questions/477816/what-is-the-correct-json-content-type