Skip to content

net/http: unexpected malformed MIME header error #63168

Closed
@hy950921

Description

@hy950921

What version of Go are you using (go version)?

$ go version
just upgraded to 1.20.8 from 1.17

Does this issue reproduce with the latest release?

we are having it in 1.20.8 but not in 1.17

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
macos locally

What did you do?

running the url test locally

What did you expect to see?

a status code 200 is returned

What did you see instead?

500 is returned and error message=net/http: HTTP/1.x transport connection broken: malformed MIME header line: (.*)A:B

FYI: (.*)A is defined as a queryparameter and B is the value here. idk why it is identified as MIME header here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeWaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions