Skip to content

net/http: error message says 'Request' instead of 'Response' #8140

Closed
@vagababov

Description

@vagababov
See example program: http://play.golang.org/p/E4noNAhYVv
During execution it prints (
Error writing response: http: Request.ContentLength=0 with Body length 11), while this
is obviously a response.

Looking at the code there are two places with that error.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions