mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
draft redirection features
This commit is contained in:
parent
c97648539f
commit
380ade924f
3 changed files with 36 additions and 12 deletions
|
|
@ -302,11 +302,12 @@ impl Page {
|
|||
}
|
||||
},
|
||||
Response::Redirect {
|
||||
referrer,
|
||||
request,
|
||||
is_foreground,
|
||||
} => {
|
||||
// Some protocols may support foreground redirects
|
||||
// for example status code `31` in Gemini
|
||||
// Some clients may support foreground redirects
|
||||
// e.g. status code `31` in Gemini protocol
|
||||
if is_foreground {
|
||||
navigation
|
||||
.request
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue