Skip to content

fix(forms): honor declared GET and POST methods - #4

Open
ShivamB25 wants to merge 1 commit into
KitchenEngineer1332:mainfrom
ShivamB25:fix/form-submission-semantics
Open

fix(forms): honor declared GET and POST methods#4
ShivamB25 wants to merge 1 commit into
KitchenEngineer1332:mainfrom
ShivamB25:fix/form-submission-semantics

Conversation

@ShivamB25

@ShivamB25 ShivamB25 commented Jul 16, 2026

Copy link
Copy Markdown

Summary

  • Submit HTML forms using their declared HTTP method instead of always encoding values into a GET URL.
  • Preserve explicit ports when resolving root-relative form actions.
  • Exclude non-submit controls from form actions.

Changes

  • Send GET form values as query parameters and POST values as URL-encoded request bodies.
  • Reuse navigation result handling for form responses.
  • Add local request-capture tests for GET and POST plus parser regressions.

Verification

  • cargo test
  • cargo clippy --all-targets -- -D warnings

Optional sequence [1/2] · Next: #5 · Coffee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant