| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, when the listening socket was already in use, this error message was displayed:
...
File "/private/tmp/n/lib/python2.7/site-packages/Paste-1.7.5.1-py2.7.egg/paste/httpserver.py", line 1106, in server_close
self.thread_pool.shutdown(60)
AttributeError: 'WSGIThreadPoolServer' object has no attribute 'thread_pool'
We prevent this by checking if `self` has a `thread_pool` attribute before trying to reference it.
Fixes issue #5 (https://bitbucket.org/ianb/paste/issue/5/invalid-error-message-when-the-socket-is)
|
| |\
| |
| |
| | |
replace ``has_key`` method to ``in`` operator #9
|
| | | |
|
| | |
| |
| |
| | |
by wrapping `map` with `list`.
|
| | | |
|
| | |
| |
| |
| | |
as suggested by @haypo at https://bitbucket.org/ianb/paste/pull-request/22/fix-improper-commas-in-request-headers-in/diff#comment-6583636
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
Revert from using `get` to `getheaders` method.
fixes #4
|
| |
|
|
|
|
|
| |
which contains a test for the issue in BB-4, where the WSGI environment has
strings with commas in them that don't belong.
See issue #4.
|
| |\
| |
| |
| | |
Add HTTP exception for new code 429 "Too Many Requests"
|
| |
|
|
| |
http://www.ietf.org/id/draft-nottingham-http-new-status-03.txt
|
| |\
| |
| |
| | |
Escape CGI environment variables in HTTP 404 responses
|
| | |
|
|
|
because `cgi.parse_qsl` is deprecated, according to
https://docs.python.org/2/library/cgi.html#cgi.parse_qsl
|