diff options
author | cce <devnull@localhost> | 2006-01-01 20:58:49 +0000 |
---|---|---|
committer | cce <devnull@localhost> | 2006-01-01 20:58:49 +0000 |
commit | 71e140a32dfaa515e1ae204ec5cd0f84ccac7a51 (patch) | |
tree | 825af9f12fe67f0b703f2d99f31f12a12d8c087d /tests/test_fileapp.py | |
parent | 6c3cf1e9c877b1b0af5cf7fde1d9a43c7fadae6c (diff) | |
download | paste-71e140a32dfaa515e1ae204ec5cd0f84ccac7a51.tar.gz |
- fixed logic/definition problem /w multi-entry headers;
__call__ now always returns a string value
- renamed resolve to values in HTTPHeader to better
reflect the public-interface for this (esp for multi-entry headers)
- a few bugs in mult-entry headers
- added common CGI headers to httpheaders; I know they don't
really belong here, but error checking is nice
- updated auth.digest and auth.basic to use httpheaders
(this is what prompted the above changes)
- added WWW_AUTHENTICATe header which will build a response to
a digest challenge
- fixed capitalization error in fileapp and added corresponding test
Diffstat (limited to 'tests/test_fileapp.py')
-rw-r--r-- | tests/test_fileapp.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_fileapp.py b/tests/test_fileapp.py index c02da52..c3188e3 100644 --- a/tests/test_fileapp.py +++ b/tests/test_fileapp.py @@ -148,6 +148,7 @@ def test_range(): app = DataApp(content) return TestApp(app).get("/",headers={'Range': range}, status=status) _excercize_range(build,content) + build('bytes=0-%d' % (len(content)+1), 416) def test_file_range(): from paste import fileapp |