ceph / ceph-iscsi

Ceph iSCSI tools
GNU General Public License v3.0
62 stars 59 forks source link

gwcli: switch 403 state status to FORBIDDEN #247

Closed lxbsz closed 3 years ago

lxbsz commented 3 years ago

The 401 means the user/password mismatch, and 403 means the requested ip address is not in the trusted ip list and use the "Forbidden" will be clearer and could easily distinguish from the 401 error.

Signed-off-by: Xiubo Li xiubli@redhat.com

lxbsz commented 3 years ago

Refer RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=2013188