Skip to content

Infer POST for body flags when --method is omitted#734

Merged
ryanfowler merged 1 commit into
mainfrom
infer-post-for-body-flags
Jun 9, 2026
Merged

Infer POST for body flags when --method is omitted#734
ryanfowler merged 1 commit into
mainfrom
infer-post-for-body-flags

Conversation

@ryanfowler

Copy link
Copy Markdown
Owner

Summary

  • Make body-producing flags default the request method to POST when --method is not set.
  • Keep explicit methods authoritative, including -m GET with a body.
  • Update help text, README/docs, AGENTS notes, and request-method tests to match the new behavior.

Testing

  • cargo fmt
  • cargo clippy --locked --all-targets --all-features -- -D warnings
  • cargo test --all-features

@ryanfowler ryanfowler merged commit 884509b into main Jun 9, 2026
4 checks passed
@ryanfowler ryanfowler deleted the infer-post-for-body-flags branch June 9, 2026 14:30
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