Skip to content

No result when optional "Content-Type" header is not present #1863

Description

@BlvckParrot

When you are using the generated code to get data from a server, but server doesn't use the "Content-Type" response header (since by RFC 9110 It is not mandatory!), then you get undefined as a result, but no error and you don't know what happened, where is the problem and It takes a while until you debug It and find where the problem is.

Here is the code that is causing the problem:
Snímek obrazovky 2023-11-01 v 15 25 08

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions