summaryrefslogtreecommitdiff
path: root/swift/common/swob.py
diff options
context:
space:
mode:
Diffstat (limited to 'swift/common/swob.py')
-rw-r--r--swift/common/swob.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/swift/common/swob.py b/swift/common/swob.py
index 1c43316ba..729cdd96f 100644
--- a/swift/common/swob.py
+++ b/swift/common/swob.py
@@ -929,6 +929,10 @@ class Request(object):
return '/' + entity_path
@property
+ def is_chunked(self):
+ return 'chunked' in self.headers.get('transfer-encoding', '')
+
+ @property
def url(self):
"Provides the full url of the request"
return self.host_url + self.path_qs