This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/swift/proxy/controllers/base.py b/swift/proxy/controllers/base.py | |
| index 582d007..887471e 100644 | |
| --- a/swift/proxy/controllers/base.py | |
| +++ b/swift/proxy/controllers/base.py | |
| @@ -39,7 +39,7 @@ from swift.common.exceptions import ChunkReadTimeout, ConnectionTimeout | |
| from swift.common.http import is_informational, is_success, is_redirection, \ | |
| is_server_error, HTTP_OK, HTTP_PARTIAL_CONTENT, HTTP_MULTIPLE_CHOICES, \ | |
| HTTP_BAD_REQUEST, HTTP_NOT_FOUND, HTTP_SERVICE_UNAVAILABLE, \ | |
| - HTTP_INSUFFICIENT_STORAGE | |
| + HTTP_INSUFFICIENT_STORAGE, HTTP_UNAUTHORIZED |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/test/unit/proxy/test_server.py b/test/unit/proxy/test_server.py | |
| index 4eeed3a..3ee2edf 100644 | |
| --- a/test/unit/proxy/test_server.py | |
| +++ b/test/unit/proxy/test_server.py | |
| @@ -46,7 +46,7 @@ from swift.common.exceptions import ChunkReadTimeout | |
| from swift.common.constraints import MAX_META_NAME_LENGTH, \ | |
| MAX_META_VALUE_LENGTH, MAX_META_COUNT, MAX_META_OVERALL_SIZE, \ | |
| MAX_FILE_SIZE, MAX_ACCOUNT_NAME_LENGTH, MAX_CONTAINER_NAME_LENGTH | |
| -from swift.common.utils import mkdirs, normalize_timestamp, NullLogger | |
| +from swift.common.utils import mkdirs, normalize_timestamp, NullLogger, public |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/test/unit/proxy/test_server.py b/test/unit/proxy/test_server.py | |
| index 4eeed3a..6efc98f 100644 | |
| --- a/test/unit/proxy/test_server.py | |
| +++ b/test/unit/proxy/test_server.py | |
| @@ -46,7 +46,7 @@ from swift.common.exceptions import ChunkReadTimeout | |
| from swift.common.constraints import MAX_META_NAME_LENGTH, \ | |
| MAX_META_VALUE_LENGTH, MAX_META_COUNT, MAX_META_OVERALL_SIZE, \ | |
| MAX_FILE_SIZE, MAX_ACCOUNT_NAME_LENGTH, MAX_CONTAINER_NAME_LENGTH | |
| -from swift.common.utils import mkdirs, normalize_timestamp, NullLogger | |
| +from swift.common.utils import mkdirs, normalize_timestamp, NullLogger, public |
NewerOlder