| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
On Python 2, html_quote(unicode) returns again bytes to restore backward
compatibility.
|
| | |
|
| |
|
|
|
| |
* Remove unused imports
* Remove unused variables
|
| | |
|
| |
|
|
| |
class(args)"
|
| |
|
|
|
| |
http://code.google.com/p/mimeparse/source/browse/trunk/testdata.json
Also added a link to the project upstream.
|
| |
|
|
|
|
| |
somewhat faster.
This also closes tickets #290, #330, #370 and #381.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| | |
|
| |
|
|
| |
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)
|