wsme/tests
Lucas Alvares Gomes de877d2cc8 Pecan: Make it possible to use the Response to return a non-default return type
This patch is extending the Response object and the Pecan extension
to make it possible to return a non-default return type (just like it
already supports retuning a non default status code).

This is useful when the return code of a function is 204 (No Response) for
that case we automatically set the return_type to be None and guarantee
that the response body is empty and the content-lentgh is 0. Which if
not done can cause tools consuming the API to misbehave.

Change-Id: I629c3e2d5dc169154e5af044f1b8f804e4b87e23
2015-04-01 14:44:46 +01:00
..
pecantest Pecan: Make it possible to use the Response to return a non-default return type 2015-04-01 14:44:46 +01:00
rest Fix error: variable 'kw' referenced before assignment 2014-04-29 10:34:36 -05:00
sphinxexample fix errors/warnings in tests 2014-08-27 22:09:07 +01:00
test_cornice.py Add custom error code to ClientSideError 2013-10-09 16:59:40 +03:00
test_flask.py Make the flask adapter working with flask.ext.restful 2014-11-11 09:45:09 +01:00
test_sphinxext.py Fix broken sphinx tests. 2014-09-23 13:25:09 -04:00
test_tg1.py Add improved support for HTTP response codes in TG 1.x apps. 2013-09-06 15:06:35 -04:00
test_tg15.py Add custom error code to ClientSideError 2013-10-09 16:59:40 +03:00