• Skull giver
    link
    fedilink
    02 years ago

    The server responded with an appropriate HTTP status code and an appropriate MIME type. If the JSON were malformed I’d agree that this is a client issue, but in this case the client failed to deal with the error states of the underlying transport correctly. It shouldn’t have even tried to parse text/html as application/json in the first place!