Skip to content

net/http: add possibility to debug response inside CheckRedirect #12697

Closed
@kayrus

Description

@kayrus

Right now it is not possible to debug server response inside CheckRedirect function. It becomes annoying especially when you use HTTPS connection and can not figure out why your code doesn't work.

I suppose it should be like:

CheckRedirect func(req *Request, via []*Request, via_resp []*Response,) error

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions