You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When things go wrong, it helps to be able to debug the HTTP requests taking place.
I think it would be great to have a mean to set a debug flag so as to get a log.
For the moment, I've patched the code to get
self.opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(wiki.cookies), urllib2.HTTPSHandler(debuglevel=1))
in api.py
Hope this helps.
The text was updated successfully, but these errors were encountered:
To save someone else the time, this change worked for me with the current version of the code
if wiki.passman is not None:
self.opener = urllib2.build_opener(urllib2.HTTPDigestAuthHandler(wiki.passman), urllib2.HTTPCookieProcessor(wiki.cookies))
else:
self.opener = urllib2.build_opener(urllib2.HTTPHandler(debuglevel=1),urllib2.HTTPCookieProcessor(wiki.cookies))
When things go wrong, it helps to be able to debug the HTTP requests taking place.
I think it would be great to have a mean to set a debug flag so as to get a log.
For the moment, I've patched the code to get
self.opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(wiki.cookies), urllib2.HTTPSHandler(debuglevel=1))
in api.py
Hope this helps.
The text was updated successfully, but these errors were encountered: