Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow controllers to return an explicit `webob.Response` object. | Ryan Petrello | 2014-05-19 | 1 | -0/+3 |
| | | | | Change-Id: I5e827eed73962a0a6f5d879224759a4d13888751 | ||||
* | Do not include Content-Type on 204 and 304 status codes | Julien Danjou | 2014-04-24 | 1 | -3/+5 |
| | | | | Change-Id: Iec7e5e0a7d5f10bf264a2e8e0a01cdaf2d73fd86 | ||||
* | Merge "If an exposed method returns nothing, reply with an HTTP 204." | Jenkins | 2014-04-23 | 1 | -1/+3 |
|\ | |||||
| * | If an exposed method returns nothing, reply with an HTTP 204. | Ryan Petrello | 2014-04-23 | 1 | -1/+3 |
| | | | | | | | | | | Fixes-bug: 1311629 Change-Id: I06259adc76631d88777d1747c09dae3a67692a39 | ||||
* | | Merge "Pass arbitrary keyword args to load_test_app" | Jenkins | 2014-03-25 | 1 | -2/+2 |
|\ \ | |||||
| * | | Pass arbitrary keyword args to load_test_app | Jim Rollenhagen | 2014-03-18 | 1 | -2/+2 |
| |/ | | | | | | | | | | | | | | | | | Applications can be written with arbitrary keyword arguments in `setup_app`. The test app builder should support this by allowing arbitrary keyword args to be passed to `load_test_app`, and pass those along to `load_app`. Change-Id: Icb3d5c39d0bf147c1e58732be3199a30a7539f6f | ||||
* | | Delay the `threading.local` import to allow for eventlet/gevent monkeypatching. | Ryan Petrello | 2014-03-19 | 1 | -3/+11 |
|/ | | | | | | Fixes bug 1294177 Change-Id: I51482148602d85e40230547d0e19cf0c2a0c6d8a | ||||
* | Cleanup the WSGI app reference from the threadlocal state on every request. | Ryan Petrello | 2014-02-13 | 1 | -0/+1 |
| | | | | | Change-Id: I22f93224047e2b6fd6692423cc27f85b6261f9f8 Closes-Bug: #1279461 | ||||
* | Improve pecan documentation and correct intersphinx references. | Ryan Petrello | 2014-01-19 | 1 | -1/+1 |
| | | | | Change-Id: Iac6229a2727a3c662d3fe9e83e1aa02ef648f025 | ||||
* | Merge "Respect security for generic controllers." | Jenkins | 2013-10-28 | 1 | -0/+2 |
|\ | |||||
| * | Respect security for generic controllers. | Ryan Petrello | 2013-10-16 | 1 | -0/+2 |
| | | | | | | | | | | Fixes-bug: 1240488 Change-Id: I80cdc4609cb1e977018721db3e37d1d0e217bde2 | ||||
* | | Persist `pecan.request.context` across internal redirects. | Ryan Petrello | 2013-09-30 | 1 | -1/+2 |
|/ | | | | | Fixes-bug: 1233367 Change-Id: Iae7926003cd672b874b62418c53e5af227878151 | ||||
* | Remove a routing optimization that breaks the WSME pecan plugin. | Ryan Petrello | 2013-09-27 | 1 | -17/+14 |
| | | | | | Fixes-bug: 1232199 Change-Id: Ie0f93e5b783f601fc734919db02e658222a402ba | ||||
* | Merge "core: do not try to set response body to None" | Jenkins | 2013-09-26 | 1 | -1/+1 |
|\ | |||||
| * | core: do not try to set response body to None | Julien Danjou | 2013-09-26 | 1 | -1/+1 |
| | | | | | | | | | | | | | | In the context of DELETE, it's more than likely than the response will be empty. In such a case, setting response.body to None will fail. Change-Id: I29fde6c448c935c40c768376a15e83337b951898 | ||||
* | | Squeeze some more performance out of the WSGI __call__ and dispatch algorithm. | Ryan Petrello | 2013-09-25 | 1 | -39/+41 |
|/ | | | | Change-Id: I3e25381d526866d6feae05f0dcbdca5707f86df7 | ||||
* | Merge pull request #226 from ryanpetrello/next | markmcclain | 2013-08-08 | 1 | -8/+13 |
|\ | | | | | Make some notable changes to how ``pecan.conf.app`` is passed to a new app. | ||||
| * | Make some notable changes to how ``pecan.conf.app`` is passed to a new app. | Ryan Petrello | 2013-08-08 | 1 | -8/+13 |
| | | | | | | | | | | | | | | | | * Now pecan.conf.app items are treated as keywords passed directly to Pecan apps. This means no more tinkering with *both* your configuration file *and* your app.py file. * Removed support for the RequestViewerHook config file shortcut (because now you can easily specify hooks via configuration). | ||||
* | | Allow on_error hooks to return a Response. | Kiall Mac Innes | 2013-07-20 | 1 | -4/+13 |
|/ | | | | | | | | This allows on_error hooks to prevent the exception from being re-raised, and instead causes the returned Response to be provided to the end user. The first on_error hook to return a response "wins", and the remaining on_error hooks are not ran. | ||||
* | Remove a hard-coded UTF-8 assumption. | Ryan Petrello | 2013-05-03 | 1 | -7/+1 |
| | |||||
* | General import and flake8 cleanup. | Ryan Petrello | 2013-05-03 | 1 | -6/+1 |
| | |||||
* | More miscellaneous PY3 compatability issues. | Ryan Petrello | 2013-04-30 | 1 | -4/+10 |
| | |||||
* | More urllib import changes. | Ryan Petrello | 2013-04-30 | 1 | -2/+3 |
| | |||||
* | Remove `basestring` references for PY3 support. | Ryan Petrello | 2013-04-30 | 1 | -2/+3 |
| | |||||
* | More PY3 compatability for iteritems and execfile. | Ryan Petrello | 2013-04-30 | 1 | -1/+1 |
| | |||||
* | Import url/un/split in a compatible manner. | Ryan Petrello | 2013-04-30 | 1 | -4/+9 |
| | |||||
* | Update exception block syntax. | Ryan Petrello | 2013-04-30 | 1 | -2/+2 |
| | |||||
* | Correct relative imports. | Ryan Petrello | 2013-04-30 | 1 | -5/+5 |
| | |||||
* | Merge branch 'next' of github.com:dreamhost/pecan into next | Ryan Petrello | 2013-04-25 | 1 | -55/+72 |
|\ | | | | | | | | | Conflicts: pecan/core.py | ||||
| * | More tinkering on performant Accept method handling. | Ryan Petrello | 2013-04-24 | 1 | -33/+29 |
| | | |||||
| * | More pecan optimizations. | Ryan Petrello | 2013-04-24 | 1 | -2/+3 |
| | | |||||
| * | Improve performance for general pecan request handling. | Ryan Petrello | 2013-04-24 | 1 | -64/+84 |
| | | |||||
* | | Remove some unnecessary cruft and improve test coverage for core.py | Ryan Petrello | 2013-04-25 | 1 | -3/+0 |
|/ | |||||
* | Store exceptions raised by ``abort`` in the WSGI environ. | Ryan Petrello | 2013-04-09 | 1 | -0/+1 |
| | | | | This makes it easier to access the original exception later in the request cycle (e.g., other middleware or in custom error handlers). | ||||
* | Attempt to resolve an issue that causes tests to fail in Travis-CI. | Ryan Petrello | 2013-03-12 | 1 | -4/+2 |
| | |||||
* | Merge pull request #174 from alfredodeza/env_var | Ryan Petrello | 2013-03-01 | 1 | -3/+5 |
|\ | | | | | Environment Variable implementation | ||||
| * | load_app can now work with no config param passed in | Alfredo Deza | 2013-01-23 | 1 | -3/+5 |
| | | |||||
* | | Improve inspection with ``dir()`` for ``pecan.request`` and ``pecan.response`` | Ryan Petrello | 2013-02-05 | 1 | -0/+5 |
| | | |||||
* | | use path_info instead of path | Alfredo Deza | 2013-02-03 | 1 | -2/+3 |
|/ | |||||
* | Merge pull request #164 from ryanpetrello/next | markmcclain | 2013-01-18 | 1 | -1/+1 |
|\ | | | | | Fix a routing-related bug in RestController. fixes #156 | ||||
| * | Fix a routing-related bug in RestController. fixes #156 | Ryan Petrello | 2013-01-11 | 1 | -1/+1 |
| | | |||||
* | | Option to disable content-type guessing by URL | Doug Hellmann | 2013-01-17 | 1 | -2/+9 |
|/ | | | | | | | | Add a new option to disable content-type guessing based on the extension of the URL. Change-Id: I5bea41fcc1011cfb19255cc0333924034007a645 Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com> | ||||
* | Remove and annotate a few unused (and py26 alternative) imports. | Ryan Petrello | 2013-01-08 | 1 | -1/+0 |
| | |||||
* | Always include ``pecan.request['extension']``. | Ryan Petrello | 2013-01-08 | 1 | -0/+1 |
| | |||||
* | Don't strip a dotted extension from the path unless it has a matching mimetype. | Ryan Petrello | 2013-01-08 | 1 | -3/+8 |
| | |||||
* | More refinements for HTTP Accept content type guessing. | Ryan Petrello | 2012-11-04 | 1 | -21/+19 |
| | |||||
* | Add support for content type detection via Accept headers. | Ryan Petrello | 2012-11-03 | 1 | -5/+31 |
| | |||||
* | Fix another broken test. | Ryan Petrello | 2012-11-02 | 1 | -1/+1 |
| | |||||
* | pep8 compliance | Ryan Petrello | 2012-10-29 | 1 | -16/+10 |
| | |||||
* | Version bump, a bug fix, more documentation... | Ryan Petrello | 2012-03-30 | 1 | -8/+6 |
| |