Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

302 redirect failed #118

Open
Nyx2022 opened this issue Apr 25, 2023 · 0 comments
Open

302 redirect failed #118

Nyx2022 opened this issue Apr 25, 2023 · 0 comments
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@Nyx2022
Copy link

Nyx2022 commented Apr 25, 2023

rawhttp version:

0.1.11

Current Behavior:

POST To a url with some data and with a 302 response,and with a followredirect option

Expected Behavior:

follow redirect and get the response after redirect

Steps To Reproduce:

  1. call 'rawhttp ' with
    response, err := rawhttpClient.DoRawWithOptions(request.Method, request.URL, request.Path,
    reqHeaderMap, strings.NewReader(request.Body), options, &reqChains)
  2. See error at do method of client.go

image

Anything else:

i run it at windows

@Nyx2022 Nyx2022 added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

No branches or pull requests

1 participant