Skip to content

Add request retry preparation#108

Open
ioquatix wants to merge 3 commits into
mainfrom
request-retry-method
Open

Add request retry preparation#108
ioquatix wants to merge 3 commits into
mainfrom
request-retry-method

Conversation

@ioquatix

@ioquatix ioquatix commented Jul 19, 2026

Copy link
Copy Markdown
Member

Summary

  • Add Protocol::HTTP::Request#retry! to prepare a request body for another send attempt.
  • Preserve the existing Request#idempotent? behavior for compatibility with existing clients.
  • Cover retry preparation for no body, rewindable bodies, non-rewindable bodies, and non-idempotent methods.

Testing

  • bundle exec sus test/protocol/http/request.rb
  • bundle exec sus

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