httpimport icon indicating copy to clipboard operation
httpimport copied to clipboard

Add pure logging for HTTP/S requests

Open operatorequals opened this issue 6 years ago • 1 comments

This is quite self explanatory. It is quite useful to have a log of all the requests made by this module, maybe by a different logger than the httpimport one:

req_logger = logging.getLogger("httpimport.requests")

so it can have all kinds of controls like, log to file, colors, etc.

When debugging, or when working with network issues this could be a useful tool.

operatorequals avatar Sep 25 '19 16:09 operatorequals

So far the lack of feedback or throwing of an error when a network call is rejected is far from ideal

john681611 avatar Mar 21 '23 12:03 john681611