Skip to content

Some overdue cleanup#65

Open
mark-cooper wants to merge 1 commit into
mainfrom
cleanup
Open

Some overdue cleanup#65
mark-cooper wants to merge 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.

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