| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
| |
Filter out empty languages from httpheaders.ACCEPT_LANGUAGE.
|
| | |
|
| |
|
|
| |
actually require languages to be of that format (per http://kbyanc.blogspot.com/2007/04/more-i-dig-through-code-more-paste-is.html)
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
If-None-Match to DataApp. Added parsing support for multi-value headers.
|
| |
|
|
| |
length=200' to If-Modified-Since, and that was producing BadRequest errors. Instead parameters on dates are now simply ignored
|
| |
|
|
| |
o added a test to reproduce ticket #114
|
| |
|
|
| |
for: ticket #114
|
| | |
|
| | |
|
| |
|
|
| |
the right version?)
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
__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
|
| |
|
|
|
|
|
|
| |
- cleaned up documentation for paste.auth.form
- cleaned up documentation for paste.auth.basic
- converted InternalServerError into its own class (httpexceptions)
- converted BadRequest into its own class (httpexceptions)
- a few minor cleanups
|
| | |
|
| | |
|
| |
|
|
| |
question: how do I get pudge to document a 'private' class?
|
| | |
|
| |
|
|
| |
(needs more work)
|
| | |
|
| | |
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
| |
- moved overridable methods up-front so that they are easily identifyable
- implemneted update() for multivalue case
|
| | |
|
| |
|
|
| |
- by default lower-case all header values (unless specified otherwise)
|
| |
|
|
| |
(should I just make Single/MultiValue/MultiEntry a switch?)
|
| |
|
|
| |
- added abstract parse function to HTTPHeader
|
| | |
|
| |
|
|
|
|
|
|
|
| |
- 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)
|
| |
|
|
|
| |
the corresponding header is not found (hopefully this redundance can
be removed from WSGI)
|
| |
|
|
|
|
|
| |
- fixed bug in content-disposition
- fixed bug in cache-control
next-up: Content-Range, Range headers
|
| |
|
|
|
| |
- added DateHeader base class for Expires, If-Modified-Since, etc.
- added apply method for updates /w side-effects
|
| | |
|
| |
|
|
|
| |
- added delete and update methods
- added regression tests
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
of outgoing headers and capitalizes them to exactly match the RFC
for extremely dumb user agents (which exist... unfortunately)
that don't do case-insensitive matches and assume Camel-Case
- added ResponseHeaderWrapper to use python properties to
access headers which don't use multiple-entities (like Set-Cookie)
- updated comment to header_value to explain why , separator
works in most cases (but not all)
|
| |
|
|
|
|
|
|
|
| |
accidently used as a key in an WSGI or header tuple
- distinguishing between multi-value (but single-line) and
multi-entry headers such as WWW-Authenticate and Set-Cookie
as discussed on the Web-Sig
- removed 'dict' like stuff from environ wrapper so that it
isn't accidently used as an environ replacement
|
|
|
contains a full set of headers /w their corresponding category, version,
and an indicator if they are single value or multi-value
|