Skip to content

proposal: net/http: http.ResponseWriter add GetBody() and StatusCode() #52256

Closed
@hyahm

Description

@hyahm

Define a public variable and set the maximum length for GetBody()
In this way, Can get the returned data and status code at the end to facilitate logging

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions