Skip to content

net/http: http server Golang does not allow to handle unexpected errors #30164

Closed
@ghost

Description

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

1.10.7

$ go version
go version go1.10.7 windows/amd64

Does this issue reproduce with the latest release?

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

go env Output
$ go env

What did you do?

When I'll put % to my HTTP server go cause '400 Bad Request'
Example: http://localhost/somerequest%

That's all want to know maybe another mimic error we have?
And how to handle them to my custom messages.

What did you expect to see?

What did you see instead?

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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions