adfa4c71df
There are several places in the source code where HTTP response codes are used as numeric values. Status codes 200, 202, 300, 400, 401, 403, 404, 405, 500 and 503 under tests/unit/volume/drivers are replaced with symbolic constants from six.moves.http_client thus improves code readability. More patches will be submitted to address other status codes. Partial-Bug: #1520159 Change-Id: Id5034fb1cac935ce235d5605a2ae778f44d20fa1 |
||
---|---|---|
.. | ||
__init__.py | ||
driver.py |