From 7eb443253017c58cfca1268746dcb0ee716cbc68 Mon Sep 17 00:00:00 2001 From: yggverse Date: Fri, 25 Oct 2024 15:08:09 +0300 Subject: [PATCH] update comments --- src/app/browser/window/tab/item/page.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/browser/window/tab/item/page.rs b/src/app/browser/window/tab/item/page.rs index 0c050d06..95fa3749 100644 --- a/src/app/browser/window/tab/item/page.rs +++ b/src/app/browser/window/tab/item/page.rs @@ -199,11 +199,12 @@ impl Page { // Begin request simple_socket_request_async(uri.clone(), move |result| match result { Ok(response) => { - // Format response + // Update page meta meta.borrow_mut().status = Some(Status::Connected); meta.borrow_mut().title = uri.host(); action_update.activate(Some(&id)); + // Route by response match response.header().status() { // 10 | 11 Some(ResponseStatus::Input)