Skip to content

module-yaml: implement better HTTP error handling and reporting in the DataStreamUtil module #1033

@davidnich

Description

@davidnich

response:

HTTP/1.1 401 Unauthorized
<html><head><title>401 Unauthorized</title></head><body><h1>Unauthorized</h1><pre>Authentication is required to access this server</pre><p><hr><address>Qorus-HTTP-Server/0.3.11 on quasar.prague</address></body></html>

exception raised by DataStreamUtil:

/usr/local/share/qore-modules/DataStreamUtil.qm:480: DESERIALIZATION-ERROR: cannot deserialize request body; content-type is: "text/html"; types supported: ["application/x-yaml", "text/x-yaml", "application/json", "text/xml", "application/xml"]

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions