mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 09:10:08 +00:00
update comments
This commit is contained in:
parent
182d705960
commit
1e36b73077
@ -574,6 +574,7 @@ impl Page {
|
||||
// Update page
|
||||
update.activate(Some(&id));
|
||||
},
|
||||
// https://geminiprotocol.net/docs/protocol-specification.gmi#status-20
|
||||
gemini::client::response::meta::Status::Success => {
|
||||
// Route by MIME
|
||||
match response.mime() {
|
||||
@ -756,8 +757,9 @@ impl Page {
|
||||
},
|
||||
}
|
||||
},
|
||||
// https://geminiprotocol.net/docs/protocol-specification.gmi#redirection
|
||||
// https://geminiprotocol.net/docs/protocol-specification.gmi#status-30-temporary-redirection
|
||||
gemini::client::response::meta::Status::Redirect |
|
||||
// https://geminiprotocol.net/docs/protocol-specification.gmi#status-31-permanent-redirection
|
||||
gemini::client::response::meta::Status::PermanentRedirect => {
|
||||
// Extract redirection URL from response data
|
||||
match response.data() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user