From 82e427a8b14e3efee2da99d622fad04ed6461a50 Mon Sep 17 00:00:00 2001 From: Clay Gerrard Date: Mon, 19 Aug 2019 10:56:50 -0500 Subject: [PATCH] Fix symlink docstring Related-Change-Id: I179ea6180d31146bb947061c69b1807c59529ac8 Change-Id: I41cbf445057be09a102ef5515a9ce6a4f14e7458 --- swift/common/middleware/symlink.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swift/common/middleware/symlink.py b/swift/common/middleware/symlink.py index c5e727e4f5..acaeb871db 100644 --- a/swift/common/middleware/symlink.py +++ b/swift/common/middleware/symlink.py @@ -237,8 +237,8 @@ def _check_symlink_header(req): x-symlink-target header is present in req.headers. :param req: HTTP request object - :returns: a tuple, the full versioned WSGI quoted path to the object and - the value of the X-Symlink-Target-Etag header which may be None + :returns: a tuple, the full versioned path to the object (as a WSGI string) + and the X-Symlink-Target-Etag header value which may be None :raise: HTTPPreconditionFailed if x-symlink-target value is not well formatted. :raise: HTTPBadRequest if the x-symlink-target value points to the request