Contrary to import, importlib.import_module returns the specified
package or module while import returns the top-level package or
module and is thus what http would be bound to when importing
http.client. This commit fixes the import of http.client so that the
http module is bound to the http variable. Without this change LNT
crashes when receiving an HTTP response not between 200 and 400 (not
included).
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 55329 Build 64079: arc lint + arc unit