Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mention, and emphasize, HTTPClient in the documentation #129

Merged
merged 8 commits into from
Mar 26, 2020

Conversation

glyph
Copy link
Member

@glyph glyph commented Jul 12, 2016

Rather than encouraging people to mess around with agent= in the treq signature.

This is a continuation of @cwaldbieser's work from #109 .

cwaldbieser and others added 8 commits July 29, 2015 20:47
Glyph pointed out that the various treq request functions (`treq.get()`,
`treq.post()`, etc.) don't need to be modified.  Instead, the documentation
should suggest that you use a `treq.client.HTTPClient` instance directly
if you need to customize its behavior.

This reverts commit 972b84f.
@glyph glyph mentioned this pull request Jul 12, 2016
@dreid
Copy link
Contributor

dreid commented Sep 9, 2016

This object is roughly analogous to request's Session object. Perhaps it should just be renamed and exposed via the treq module?

@glyph
Copy link
Member Author

glyph commented Sep 10, 2016

@dreid That's a very good point.

@dreid
Copy link
Contributor

dreid commented Mar 24, 2017

@exarkun
Copy link
Member

exarkun commented Aug 2, 2019

What's blocking this now? Renaming the API might be an improvement but it doesn't seem like the best thing to block documenting the existing API on that. Once the documentation lands it will be trivial to update it to follow any renaming.

@glyph
Copy link
Member Author

glyph commented Aug 5, 2019

@exarkun Really just the conflicts (and presumably a review); it looks like some other improvements have landed in the meanwhile, so the conflicts aren't totally trivial?

@twm twm self-assigned this Aug 22, 2019
@twm twm merged commit a5d2134 into twisted:master Mar 26, 2020
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.

5 participants