From 264ac04b84cc986793bc4cd0bfa162752bd670be Mon Sep 17 00:00:00 2001 From: stjet <49297268+stjet@users.noreply.github.com> Date: Fri, 17 Jul 2026 05:20:15 +0000 Subject: [PATCH] POST forms, cookies, parsing fix? Some logins and posting operations, like certain simple forums are working. Others, like wikimedia, are still not :( --- Cargo.lock | 2 +- Cargo.toml | 2 +- real_tests/hn_user.html | 2 + real_tests/wikipedia.html | 2875 ++++++++++++++++++++++++++----------- src/http.rs | 86 +- src/main.rs | 91 +- src/url.rs | 10 +- src/xml.rs | 120 +- 8 files changed, 2270 insertions(+), 918 deletions(-) create mode 100644 real_tests/hn_user.html diff --git a/Cargo.lock b/Cargo.lock index e7b69bd..8fe0ffb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -560,7 +560,7 @@ dependencies = [ [[package]] name = "koxinga" -version = "1.0.0" +version = "1.1.0-rc.0" dependencies = [ "ming-wm-lib", "reqwest", diff --git a/Cargo.toml b/Cargo.toml index 4a30659..0301300 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "koxinga" -version = "1.0.0" +version = "1.1.0-rc.0" edition = "2021" [lints.clippy] diff --git a/real_tests/hn_user.html b/real_tests/hn_user.html new file mode 100644 index 0000000..b4382df --- /dev/null +++ b/real_tests/hn_user.html @@ -0,0 +1,2 @@ +Profile: panza | Hacker News
Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
user:panza
created:November 14, 2010
karma:482
about:
submissions
comments
favorites


+
diff --git a/real_tests/wikipedia.html b/real_tests/wikipedia.html index a2f0273..5ef5d0f 100644 --- a/real_tests/wikipedia.html +++ b/real_tests/wikipedia.html @@ -1,882 +1,2051 @@ - + - -Wikipedia - - - - - - - - - - - - + +Ming dynasty - Wikipedia + + + + + + + + + + + + + + + + + + - - + + + + + + + + + - -
-