Comment 24 for bug 1520159

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/434896
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=adfa4c71dfa96b5be2d2d8093849fe05bd1421ef
Submitter: Jenkins
Branch: master

commit adfa4c71dfa96b5be2d2d8093849fe05bd1421ef
Author: poojajadhav <email address hidden>
Date: Fri Jan 27 19:19:17 2017 +0530

    Extracted HTTP response codes to constants

    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