summaryrefslogtreecommitdiff
path: root/paste/fileapp.py
diff options
context:
space:
mode:
authormaluke <devnull@localhost>2009-07-01 15:25:02 +0000
committermaluke <devnull@localhost>2009-07-01 15:25:02 +0000
commit2d1cf7d25adc8cd6ce6a05dfccf00aac1ad18788 (patch)
tree19526289e235721e85f84f6bf695661241b85b95 /paste/fileapp.py
parent353e380bca264efa42792832b64d09f43dfa2fb2 (diff)
downloadpaste-2d1cf7d25adc8cd6ce6a05dfccf00aac1ad18788.tar.gz
Paste: fix Ticket #299
Diffstat (limited to 'paste/fileapp.py')
-rw-r--r--paste/fileapp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/fileapp.py b/paste/fileapp.py
index 81d4786..8a0e8a1 100644
--- a/paste/fileapp.py
+++ b/paste/fileapp.py
@@ -104,7 +104,7 @@ class DataApp(object):
return self.get(environ, start_response)
def calculate_etag(self):
- return str(self.last_modified) + '-' + str(self.content_length)
+ return '"%s-%s"' % (self.last_modified, self.content_length)
def get(self, environ, start_response):
headers = self.headers[:]