| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
| |
provided and no object is pushed to the Proxy.
Added ability to define a default object for a StackedObjectProxy
|
| | |
|
| |
|
|
| |
calling close on the response. Unit tests for registry all passing
|
| |
|
|
| |
wsgilib still, added test case for iterable app
|
| |
|
|
| |
(it does)
|
| |
|
|
| |
object can be proxied (including dicts)
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
(paste.auth.auth_tkt). Added middleware to set user and group based on IP addresses (paste.auth.grantip). Added some modules for handling ranges of IP addresses, taken from some Python Cookbook recipes -- license is unclear on these, but I've requested clarification from the author (shouldn't be released until that is clarified).
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- added socket_timeout option
- added deamon_threads option
- the port option to serve() can now be a string
- now catching and re-routing most socket errors (which are routine)
- converted reload.py to use a deamon thread
- added comment why os._exit is used
- removed raise_keyboard_interrupt option (this might need
to be re-added later, just not sure what it does)
|
| | |
|
| |
|
|
| |
- remove unnecessary intermediaries
|
| |
|
|
| |
- cleaning up unnecessary code (that is duplicated in datetime built-in)
|
| |
|
|
| |
- updated docstrings
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
__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
|
| |
|
|
|
|
|
|
|
| |
- 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
|
| | |
|
| |
|
|
| |
to httpheaders to include some of this functionality
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
(response_headers are next/soon)
|
| |
|
|
|
| |
contains a full set of headers /w their corresponding category, version,
and an indicator if they are single value or multi-value
|
| |
|
|
|
|
| |
- 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)
|
| |
|
|
| |
warnings errors (you have to use -W now -- but it doesn't work with --tkinter, it seems)
|
| | |
|
| | |
|
| |
|
|
| |
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
|
| |
|
|
| |
into an iteration
|
| | |
|
| |
|
|
| |
as well, in preference of httpexceptions.*.wsgi_application
|
| |
|
|
| |
with trunk
|
| | |
|
| |
|
|
| |
fixed tests that broke due to change of output
|
| | |
|
| | |
|
| | |
|
| | |
|