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