Skip to content

Questions: Redirects #369

@john103

Description

@john103

Hello.

There is a hook: Session.CheckRedirect. I have tried assigning a function but it never triggered.
The only way I managed to catch a redirect was with the help of CallbackWithContext function.
There was a response body of { redirectURL: someUrl }. The redirect happens but Session.Dump doesn't register that.

1.) Could you provide an example of using Session.CheckRedirect function? Maybe I was using it wrong.

2.) Session.Dump doesn't register redirects, so no logs of those?

3.) Content-Length header is omitted in Session.Dump?

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions