actix / actix/actix-web

awc: read URL after a redirection

Open
#3,403 0 comments 0 reactions 0 assignees View on GitHub
A-awc C-feature D-medium
Dominant language
Rust
Stars
24.8k
Forks
1.9k
Avg merge
23h 10m
Merged PRs (30d)
26

Description

### Discussed in https://github.com/actix/actix-web/discussions/3387

Originally posted by **rharish101** June 4, 2024
If I request a webpage with a URL, and the website redirects to another page, how do I get the URL of the new page once awc returns from a `ClientRequest::send`? This is when redirections are allowed (i.e. not disabled when building the client) in the client.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.