summaryrefslogtreecommitdiff
path: root/paste/urlparser.py
Commit message (Collapse)AuthorAgeFilesLines
* Python 3: Use six types for stringsCyril Roelandt2014-03-181-1/+2
| | | | | * Replace (str, unicode) with (six.binary_type, six.text_type) * Replace basestring with (six.binary_type, six.text_type)
* Python 3: Use absolute import instead of relative importCyril Roelandt2014-03-181-1/+1
|
* Python 3: Replace "dict.has_key(key)" with "key in dict"Cyril Roelandt2014-03-181-3/+3
|
* Python 3: Replace "except Exception, exc" with "except Exception as exc:"Cyril Roelandt2014-03-181-2/+2
|
* remove directory name from 404 errorsIan Bicking2010-03-311-4/+1
|
* Paste: fix Ticket #299maluke2009-07-011-0/+2
|
* [paste] fix StaticURLParser path handling that was completely insane and ↵maluke2008-12-251-28/+13
| | | | broken on Windows
* update test for new website contentianb2008-11-161-10/+12
|
* use consistent string quotingpjenvey2008-08-271-2/+2
|
* normalize/make-absolute the paths passed into StaticURLParserianb2008-05-291-1/+1
|
* typo in last commitianb2008-04-181-1/+1
|
* Fix case normalization on Windowsianb2008-04-181-2/+4
|
* Accept relative paths in StaticURLParser (#244). From Eric Larsonianb2008-03-301-0/+2
|
* properly hide .bak and .py~, and also hide .pyoianb2007-10-101-1/+1
|
* fix docs referring to cache_max_age as max_cache_agepjenvey2007-06-121-2/+2
| | | | Thanks Mike Orr
* typopjenvey2007-01-311-1/+1
| | | | (thanks eleftherios)
* don't depend on pkg_resources in urlparserpjenvey2007-01-231-1/+8
| | | | | Patch by whit537 Fixes #149
* fixed broken StaticURLParser.make_app from r6099pjenvey2007-01-191-2/+1
|
* Make StaticURLParser more subclassableianb2007-01-171-1/+4
|
* convert old-style classes to new-style classespjenvey2007-01-051-1/+1
|
* fixed typo from r6038pjenvey2007-01-041-2/+2
|
* always set root_resources in PkgResourcesParserianb2007-01-041-3/+3
|
* Use 404 instead of 400 when there's extra path on a static file, like with ↵ianb2006-12-221-1/+1
| | | | /index.html/foo'
* Reverting r6016ianb2006-12-221-33/+30
|
* Tweaked StaticURLParser to fix windows paths and infinite URL redirects. ↵thejimmyg2006-12-221-30/+33
| | | | Current code doesn't pass all tests but neither did the previous code. Doesn't use the recursive calls.
* Fixed the paths for to work with Windowsthejimmyg2006-12-181-1/+6
|
* Security fix for StaticURLParser, plus unquote SCRIPT_NAME and PATH_INFO, ↵ianb2006-12-181-7/+5
| | | | plus don't double-unquote in StaticURLParser
* A big commit, primarily aesthetic/whitespace in nature. This is the result ↵ianb2006-10-201-4/+4
| | | | of running pylint over the codebase. Some minor/hard-to-reach typos were also picked up.
* Paste should not depend upon other paste modules, suchcce2006-09-211-2/+1
| | | | | | | | | as Deploy. This patch moves 'converters' into paste.util since it was being used within paste proper. I'll leave it to those who know Deploy to update that. - copied converters.py from paste.deploy to paste.util - updated files that use paste.deploy.converters
* Buglet from 2 commits agoianb2006-08-291-1/+2
|
* Patch for cache_max_age from Brad Clementsianb2006-08-291-6/+20
|
* Removed Paste Deploy dependencies in many placesianb2006-08-191-1/+48
|
* Preventing circumvention of StaticURLParser and PkgResourcesParser's root ↵pjenvey2006-06-191-6/+24
| | | | | | directories. Ensuring fix with tests
* Fixed urlparser classes to handle quoted (e.g. %20) URL paths.pjenvey2006-06-181-3/+7
| | | | | Added tests for this (Thanks Jose Galvez)
* docstringianb2006-03-301-0/+4
|
* The last two commits fixed the wrong thing; urlparser now back to how it ↵ianb2006-01-261-2/+2
| | | | was, and fix httpexceptions.wsgi_application to not try to use dict methods on the header list
* stupid syntax error in last commitianb2006-01-261-2/+2
|
* Fixed mis-used redirect when adding trailing slashianb2006-01-261-2/+2
|
* Using ETag's for browser-side HTTP 1.1 caching when available for static ↵bbangert2006-01-181-0/+10
| | | | content. If found, throwing the 304 with the ETag early, before fileapp creation/call, for efficiency.
* Added a bunch of module docstrings so the module index looks nicer; also ↵ianb2005-12-301-0/+3
| | | | marked deprecated modules so they don't show up in the module index that Pudge creates
* A bunch of little import cleanups noted from pyflakesianb2005-12-181-1/+0
|
* Moved all the internal uses of wsgilib to their correct forms nowianb2005-12-181-2/+2
|
* Added -W option to tests, which will turn warnings into errors (warnings ↵ianb2005-12-181-1/+2
| | | | 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
* Moved a function to request that shouldn't beianb2005-12-151-1/+1
|
* Move things to using request module instead of wsgilibianb2005-12-141-9/+9
|
* Using new paste.request libbbangert2005-12-131-2/+3
|
* Be a little less picky about 'ambiguous' filenames in URLParser, when one of ↵ianb2005-12-131-4/+10
| | | | the filename matches is an exact match
* Deprecate the wsgilib.error_response functions; stop using them internally ↵ianb2005-12-131-50/+37
| | | | as well, in preference of httpexceptions.*.wsgi_application
* Added entry point for pkg_resources file servingianb2005-12-131-0/+9
|
* Improve error message on urlparser Not Foundsianb2005-12-021-2/+7
|