python - How can I see the actual data Requests sends over the wire? -
(this follow-up question this one)
how can tell urllib3
log full request, including, not limited to:
- url
- query parameters
- headers
- body
- and else sent inside request (i not sure there else, if there else, want see it)
i having trouble connecting linkedin oauth (a similar implementation works google , facebook), , see exactly requests being sent. suspect auth_token
not being provided, need confirm this. that, need urllib3
show full requests, since on https , can not analyze network traffic see them (end-to-end encryption).
you can access preparedrequest
object sent after fact of request using request
accessor, e.g. print dir(r.request)
.
Comments
Post a Comment