Comment 18 for bug 1520159

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

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

commit 9f874a9ca05721228549f0be62a348cd1d1e8d90
Author: poojajadhav <email address hidden>
Date: Mon Jan 23 19:20:33 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 202, 204, 300 and 412 under api/v3 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: I60d8d99827bfa1a6fc5b6dbb67d1d1fb3a3b95fe