Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix pyflakes warnings | Victor Stinner | 2015-04-22 | 1 | -1/+0 |
| | | | | | | * Remove unused variables * Remove unused imports * Remove dead code | ||||
* | Fix httpheaders on Python 3 | Victor Stinner | 2015-04-21 | 1 | -13/+25 |
| | | | | | | * Call list.sort() with a key function instead of a compare function. * Fix FakeRequest in httpheaders on Python 3: urllib.request now expects properties, not getters (get_xxx() methods). | ||||
* | Copy the dictionary of global variables to be able to iterate over it and | Victor Stinner | 2014-03-18 | 1 | -2/+3 |
| | | | | modify global variables | ||||
* | Python 3: Replace "for ... in dict.items()" with "for ... in ↵ | Cyril Roelandt | 2014-03-18 | 1 | -3/+3 |
| | | | | | | six.iteritems(dict)" Same change for itervalues(). | ||||
* | Python 3: Use absolute import instead of relative import | Cyril Roelandt | 2014-03-18 | 1 | -1/+1 |
| | |||||
* | Python 3: use new names of standard library modules | Cyril Roelandt | 2014-03-18 | 1 | -4/+11 |
| | | | | Use "try/except ImportError" to try Python 2 and Python 3 names. | ||||
* | Get rid of misused .remote() method (should have been .delete()): ↵ | Ian Bicking | 2010-09-02 | 1 | -2/+2 |
| | | | | http://trac.pythonpaste.org/pythonpaste/ticket/310 | ||||
* | Fix http://trac.pythonpaste.org/pythonpaste/ticket/398 -- properly reject ↵ | Ian Bicking | 2010-09-01 | 1 | -1/+1 |
| | | | | dates that have out-of-range values | ||||
* | workaround mimetype's incredible lameness: | pjenvey | 2009-03-02 | 1 | -3/+3 |
| | | | | | http://bugs.python.org/issue5401 patch from chrisz | ||||
* | Use Content-Range: bytes START-END/LENGTH (adding 'bytes') | ianb | 2007-09-10 | 1 | -1/+1 |
| | |||||
* | be a little more careful splitting | ianb | 2007-09-04 | 1 | -1/+1 |
| | |||||
* | Fix for request.languages, which didn't pass the right value to httpheaders. ↵ | ianb | 2007-05-25 | 1 | -1/+1 |
| | | | | Filter out empty languages from httpheaders.ACCEPT_LANGUAGE. | ||||
* | Fix #179, exception for accept-languages | ianb | 2007-05-25 | 1 | -0/+3 |
| | |||||
* | Remove the languageRegEx check, as Kelly Yancey says that RFC 2616 does not ↵ | ianb | 2007-04-19 | 1 | -3/+1 |
| | | | | actually require languages to be of that format (per http://kbyanc.blogspot.com/2007/04/more-i-dig-through-code-more-paste-is.html) | ||||
* | Adding language parsing HTTP header code. | bbangert | 2007-01-30 | 1 | -1/+35 |
| | |||||
* | convert old-style classes to new-style classes | pjenvey | 2007-01-05 | 1 | -1/+1 |
| | |||||
* | Fix M-t typo introduced | ianb | 2006-10-20 | 1 | -2/+2 |
| | |||||
* | more whitespace changes | ianb | 2006-10-20 | 1 | -47/+47 |
| | |||||
* | reverting r5459, as the issue has already been fixed | pjenvey | 2006-07-17 | 1 | -5/+2 |
| | |||||
* | Added tests for file-related conditional requests. Added support for ↵ | ianb | 2006-07-17 | 1 | -0/+7 |
| | | | | If-None-Match to DataApp. Added parsing support for multi-value headers. | ||||
* | More permissive parsing for dates in headers. IE in particular will add '; ↵ | ianb | 2006-07-13 | 1 | -1/+4 |
| | | | | length=200' to If-Modified-Since, and that was producing BadRequest errors. Instead parameters on dates are now simply ignored | ||||
* | o revised the r5420 patch to be specific to the _IfModifiedSince header | pjenvey | 2006-06-26 | 1 | -4/+10 |
| | | | | o added a test to reproduce ticket #114 | ||||
* | Clean date headers of extra attributes sent by IE | pjenvey | 2006-06-26 | 1 | -2/+4 |
| | | | | for: ticket #114 | ||||
* | Added copyright header to a bunch of files | ianb | 2006-06-13 | 1 | -0/+2 |
| | |||||
* | Allowed for a -1 value in the range | ianb | 2006-03-30 | 1 | -1/+1 |
| | |||||
* | Fixed docstring; removed method that was doubly-defined (I think I deleted ↵ | ianb | 2006-03-01 | 1 | -15/+2 |
| | | | | the right version?) | ||||
* | - noted the RFC for exhaustive list of httpheaders | cce | 2006-02-08 | 1 | -1/+1 |
| | |||||
* | - py2.3 compatibility fix as reported by Ben Bangert | cce | 2006-01-06 | 1 | -2/+2 |
| | |||||
* | (no commit message) | cce | 2006-01-02 | 1 | -0/+1 |
| | |||||
* | - fixed logic/definition problem /w multi-entry headers; | cce | 2006-01-01 | 1 | -41/+100 |
| | | | | | | | | | | | | | | __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.cookie | cce | 2005-12-31 | 1 | -2/+3 |
| | | | | | | | | - 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 | ||||
* | Create a __pudge_all__ variable that contains classes | ianb | 2005-12-31 | 1 | -1/+5 |
| | |||||
* | - documentation updates to make pudge output look nicer | cce | 2005-12-31 | 1 | -27/+41 |
| | |||||
* | - fixes to make auto-documentation work nicer | cce | 2005-12-30 | 1 | -75/+129 |
| | | | | question: how do I get pudge to document a 'private' class? | ||||
* | (no commit message) | cce | 2005-12-30 | 1 | -60/+69 |
| | |||||
* | - updating httpheaders so it is more reStructuredText compliant | cce | 2005-12-30 | 1 | -16/+17 |
| | | | | (needs more work) | ||||
* | (no commit message) | cce | 2005-12-30 | 1 | -1/+2 |
| | |||||
* | - removing 'return self' from delete() | cce | 2005-12-30 | 1 | -2/+0 |
| | |||||
* | - changed all HTTPHeader sub-classes to have a _ prefix, since | cce | 2005-12-30 | 1 | -43/+36 |
| | | | | | | 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 | ||||
* | (no commit message) | cce | 2005-12-30 | 1 | -3/+3 |
| | |||||
* | - fixing my awful spelling | cce | 2005-12-30 | 1 | -16/+16 |
| | |||||
* | - added concrete ContentRange header | cce | 2005-12-30 | 1 | -6/+26 |
| | | | | | | - updated fileapp.py to reflect new header btw... how do I assign bugs to myself? I think I need a login. | ||||
* | - made things which are intended to be private start with underscore | cce | 2005-12-29 | 1 | -57/+64 |
| | | | | | - moved overridable methods up-front so that they are easily identifyable - implemneted update() for multivalue case | ||||
* | (no commit message) | cce | 2005-12-29 | 1 | -1/+1 |
| | |||||
* | - moved collection searching code to resolve() and | cce | 2005-12-29 | 1 | -29/+38 |
| | | | | - by default lower-case all header values (unless specified otherwise) | ||||
* | - simplified HTTPHeaders by removing format() | cce | 2005-12-29 | 1 | -45/+51 |
| | | | | (should I just make Single/MultiValue/MultiEntry a switch?) | ||||
* | - removing all entity headers for 304 response | cce | 2005-12-29 | 1 | -7/+13 |
| | | | | - added abstract parse function to HTTPHeader | ||||
* | oops | cce | 2005-12-29 | 1 | -2/+2 |
| | |||||
* | - added Range.parse to httpheaders | cce | 2005-12-29 | 1 | -38/+78 |
| | | | | | | | | | - 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) | ||||
* | - make ContentType and ContentLength pickup CGI environment variable if | cce | 2005-12-29 | 1 | -2/+25 |
| | | | | | the corresponding header is not found (hopefully this redundance can be removed from WSGI) |