Skip to content

Some overdue cleanup - #65

Merged
mark-cooper merged 1 commit into
mainfrom
cleanup
Jun 5, 2026
Merged

Some overdue cleanup#65
mark-cooper merged 1 commit into
mainfrom
cleanup

Conversation

@mark-cooper

Copy link
Copy Markdown
Member

Configuration gets a timeout and added to request setup.
The timeout matches Net HTTP defaults so should be backwards compat.
Configuration uses accessor to set (no poking at internals).
Default headers made reasonable, no placeholder values.
Request sets basic_auth via options like everything (httparty is weird).
Adds a User-Agent for the client.
Fix passed in options (a reference) being mutated by Request.

Configuration gets a timeout and added to request setup.
The timeout matches Net HTTP defaults so should be backwards compat.
Configuration uses accessor to set (no poking at internals).
Default headers made reasonable, no placeholder values.
Request sets basic_auth via options like everything (httparty is weird).
Adds a User-Agent for the client.
Fix passed in options (a reference) being mutated by Request.
@mark-cooper
mark-cooper requested a review from kspurgin April 24, 2026 20:10
@mark-cooper

Copy link
Copy Markdown
Member Author

@kspurgin I didn't touch the version, happy to let you handle it as a follow up PR.

@mark-cooper
mark-cooper merged commit d34e007 into main Jun 5, 2026
8 checks passed
@mark-cooper
mark-cooper deleted the cleanup branch June 5, 2026 22:16
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