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

Show HTTP request message #116

Open
filipeximenes opened this issue Jun 28, 2016 · 4 comments
Open

Show HTTP request message #116

filipeximenes opened this issue Jun 28, 2016 · 4 comments

Comments

@filipeximenes
Copy link
Contributor

The HTTP request message could be printed by passing some kind of parameter to the request. This would help inspecting the request and help with the development and exploring of new wrappers.

eg.:

>>> api.my_resource().get(params={'test': 'value'}, verbose=True)
GET /my-resource?test=value
HOST http://www.example.com
@filipeximenes filipeximenes changed the title Show request Show HTTP request message Jun 28, 2016
@heliomeiralins
Copy link

Are you working on that?

@filipeximenes
Copy link
Contributor Author

@hmln no. Should I assign you?

@heliomeiralins
Copy link

Yep.

@filipeximenes
Copy link
Contributor Author

@hmln not possible to assign, but feel free to tackle it! :)

I was thinking, instead of verbose, there could be an option where the HTTP request was printed but the request was not made. (verbose would be like: print and execute the request)

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

No branches or pull requests

2 participants