| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* Don't compare None with int
* Add __next__() method (alias to next()).
* HTTP body must be bytes
* Don't use string.letters but an hardcoded string to not depend on the locale.
|
| |
|
| |
|
|
|
|
| |
(http://trac.pythonpaste.org/pythonpaste/ticket/427)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
requests
|
| |
|
| |
|
| |
|
|
|
|
| |
of running pylint over the codebase. Some minor/hard-to-reach typos were also picked up.
|
| |
|
|
|
|
| |
properly when under CACHE_SIZE, and wasn't being updated at all when over CACHE_SIZE).
|
|
|
|
| |
If-None-Match to DataApp. Added parsing support for multi-value headers.
|
| |
|
|
|
|
| |
content. If found, throwing the 304 with the ETag early, before fileapp creation/call, for efficiency.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
__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
|
|
|
|
|
|
| |
they are quite private and should (usually) be singeltons.
- updated all instances to use UPPPER_CASE format, like CONTENT_TYPE
- propigated these changes to tests and to fileapp.py
|
|
|
|
|
|
| |
- updated fileapp.py to reflect new header
btw... how do I assign bugs to myself? I think I need a login.
|
|
|
|
| |
- added abstract parse function to HTTPHeader
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
| |
- renamed Expires.time to Expires.parse for consistency
- updated FileApp/DataApp to return 206 on Partial Content
- all HttpHeader(environ) return strings (empty string when not found)
so that checks like 'if header-part in HttpHeader(collection)'
works without having to check for None
- updated FileApp to use Range header (instead of having its own copy)
|
|
|
|
|
|
|
| |
- fixed bug in content-disposition
- fixed bug in cache-control
next-up: Content-Range, Range headers
|
| |
|
| |
|
|
|
|
|
|
| |
- removed unnecessary trailing whitespace in fixture.py
- no longer reporting socket failures in httpserver
- fixed some caching issues /w fileapp
|
|
|
|
|
|
|
|
|
| |
- made error messages us \r\n rather than just \n in httpexceptions
to comply with various browsers
- added tests to check FileApp
- added support for handling 100 Continue in httpserver
- fixingup dumpenviron in wsgilib to dump message body
- misc changes to fileapp (mostly documentation)
|
|
|
|
|
|
|
|
| |
- added if-modified-since logic to fileapp.py
- added helper to mark file/data as cached in fileapp.py
- added starter regression test for fileapp.py
note: if-modified-since is still slighly broken due to timezone issues
(it isn't consistenly keeping gmtime and localtime)
|
| |
|
|
|
|
| |
- added DataApp to paste.fileapp
|
|
haven't actually been removed yet, though). Split response and fileapp from wsgilib. Some portions of wsgilib may still move to response module, this is just the first cut
|