actix / actix/actix-web

awc: read URL after a redirection

Offen
#3,403 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
A-awc C-feature D-medium
Vorherrschende Sprache
Rust
Sterne
24.8k
Forks
1.9k
Ø Merge
23 Std. 10 Min.
Gemergte PRs (30 T.)
26

Beschreibung

### 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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.