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

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -