tamentis / cartman

Command line Trac tools
http://tamentis.com/projects/cartman/
ISC License
22 stars 10 forks source link

Verbose or debugging mode #21

Open ryandesign opened 8 years ago

ryandesign commented 8 years ago

I'm trying to add a custom authentication method to cartman, but so far I'm stuck at:

requests.exceptions.TooManyRedirects: Exceeded 30 redirects.

Can something be added to cartman—a verbose or debugging mode perhaps—so that I can see what requests are being made and what responses are being received so that I can try to debug this?

ryandesign commented 8 years ago

Setting

import httplib
httplib.HTTPConnection.debuglevel = 1

near the top of app.py helps.