diff options
author | cce <devnull@localhost> | 2005-12-29 18:27:37 +0000 |
---|---|---|
committer | cce <devnull@localhost> | 2005-12-29 18:27:37 +0000 |
commit | f87a855e602b14e0e84d5baff55b6c68bc59adc6 (patch) | |
tree | b4a2e6b0868ce3b9995bb3b7f3d6574e2bd69bee /paste/fileapp.py | |
parent | 5c466f7cef6a16ab03067dbbc61d940f26a186a5 (diff) | |
download | paste-f87a855e602b14e0e84d5baff55b6c68bc59adc6.tar.gz |
- forgot to remove debugging info
- update httpserver to not include HTTP_CONTENT_TYPE or HTTP_CONTENT_LENGTH
header fields as discussed on Web-Sig
oh, last change had one other thing:
- update ContentType and ContentLength to use the CGI variables rather
than the corresponding HTTP_ variables in environ
Diffstat (limited to 'paste/fileapp.py')
-rw-r--r-- | paste/fileapp.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/paste/fileapp.py b/paste/fileapp.py index 77baa0c..ed77bac 100644 --- a/paste/fileapp.py +++ b/paste/fileapp.py @@ -105,7 +105,6 @@ class DataApp(object): (lower,upper) = (0, self.content_length - 1) range = Range.parse(environ) - print range if range and 'bytes' == range[0] and 1 == len(range[1]): (lower,upper) = range[1][0] upper = upper or (self.content_length - 1) @@ -160,7 +159,6 @@ class FileApp(DataApp): self.last_modified = stat.st_mtime def __call__(self, environ, start_response): - print CacheControl(environ), "\n" if 'max-age=0' in CacheControl(environ): self.update(force=True) # RFC 2616 13.2.6 else: |