Commit Graph

46 Commits

Author SHA1 Message Date
Leonel Câmara
3eea1f68f4 Make sure you return bytes when you str(body) 2017-08-07 00:20:29 +01:00
Leonel Câmara
05d2ced779 remove print that was left from debugging 2017-07-16 14:27:11 +01:00
Leonel Câmara
d144ff7d65 Fixes #1687 2017-07-16 14:06:03 +01:00
Richard Vézina
aa1b71e431 Enhance http.py PEP8 2017-06-21 15:14:41 -04:00
Giovanni Barillari
0528a347b3 Updated pyDAL to 16.08 2016-08-13 15:38:55 +02:00
mdipierro
35eaba1096 removed duplicated code, using pydal's _compat.py 2016-08-01 03:39:22 -05:00
ilvalle
3270d39596 py3 fixed http.to 2016-06-21 22:24:33 +02:00
ilvalle
1f013d76f3 minor few fix 2016-06-10 14:14:40 +02:00
ilvalle
db8306b5c4 fix iteritems, enabled test_cache & test_dal for 3.5 2016-06-02 17:21:36 +02:00
Hardirc
df6fc812e3 Improve PEP8 http.py 2015-03-06 22:06:37 -05:00
mdipierro
6fc97775dc fixed redirection bug 2014-08-08 00:07:34 -05:00
mdipierro
ab84c95179 fixed 1961, redirect(..,headers=request.headers), thanks remco.boerma 2014-08-07 23:48:42 -05:00
niphlod
c44cfcb27c sphinx-compatible docstrings 2014-03-11 22:18:33 +01:00
Fran Boon
4e9d228a60 Support HTTP Status 509
Whilst this isn't an official RFC, it's documented on e.g. Wikipedia. http://en.wikipedia.org/wiki/List_of_HTTP_status_codes#5xx_Server_Error
2013-11-08 10:46:47 +00:00
mdipierro
add6fa526e fixed regex status in http.py 2013-10-06 11:52:23 -05:00
Jose C
88abefb896 Support for HTTP Status Code: 429 - Too Many Requests
Currently raising HTTP 429 results in HTTP 500 being sent.  This patch resolves that issue.
2013-10-05 15:42:48 +01:00
mdipierro
0d663507e6 http://www.451unavailable.org/ 2013-08-15 17:15:59 -05:00
mdipierro
61f5522661 fixed issue 1604:After web2py Upgrade, int status codes are no longer respected, thanks cfhowes 2013-07-25 05:14:54 -05:00
mdipierro
ad8c1165b7 removed BaseException = Exception logic, thanks Jonathan 2013-06-30 11:29:43 -05:00
mdipierro
0afc18fd24 reverted HTTP(status_message) because redundant 2013-05-19 22:14:43 -05:00
Michele Comitini
d2757294af added support for custom state messages in HTTP 2013-05-03 17:30:25 +02:00
mdipierro
38cac5dd58 no more xxx, thanks Howesc 2013-02-22 18:45:26 -06:00
mdipierro
64d6691e61 added improved scripts/setup-web2py-nginx-uwsgi-ubuntu.sh, thanks Niphlod 2012-12-20 09:22:24 -06:00
mdipierro
f90d871fb6 fixed issue 1158, redirect client_side in auth forms embedded via LOAD, thanks PyCon support 2012-11-14 14:12:32 -06:00
mdipierro
c6f3bda227 fixed issue 1118, reload page when called by component, thanks Paolo 2012-10-29 09:28:19 -05:00
mdipierro
6aa5edc7ff many pep8 improvements 2012-10-19 12:33:53 -05:00
mdipierro
71ec15190b some pep8 changes (fixed spacing at end) 2012-10-19 10:37:07 -05:00
mdipierro
3a66f5e330 fixed some pep8 stuff 2012-10-19 09:40:17 -05:00
mdipierro
4efd08a66f http 422, better tagcloud, possibly fixed firbird issue with tagcloud 2012-09-27 14:05:43 -05:00
mdipierro
00eb0d8a85 yet simpler header logic, thanks Anthony and Niphlod 2012-09-11 14:06:44 -05:00
mdipierro
49c82bcd65 allow removal of headers with response.headers[key]=None 2012-09-11 12:59:45 -05:00
mdipierro
9453009de6 fixed issue 974 2012-09-10 07:47:52 -05:00
mdipierro
1d4d52c9c9 fixed issue 974, thanks Corne 2012-09-09 09:49:56 -05:00
mdipierro
ceb48bd472 fixed to(env={}), thanks Anthony 2012-08-29 10:05:51 -05:00
mdipierro
9861a33c72 support for HEAD requests 2012-08-29 08:22:35 -05:00
mdipierro
6b606aaa24 lots of simplifications (again) 2012-08-28 20:38:11 -05:00
mdipierro
266208c13d many iteritems optimizations 2012-08-28 09:35:36 -05:00
mdipierro
dcce7fc39a fixed @//// in wiki and pep8 spacing 2012-08-25 11:29:11 -05:00
mdipierro
e76bcf0ea9 removed unwanted whitespaces 2012-08-16 11:56:07 -05:00
mdipierro
8939abb370 raise HTTP(...,cookies=request.cookies) 2012-08-13 11:02:43 -05:00
mdipierro
549f3f27dc better redirect, thanks Anthony 2012-08-08 14:20:05 -05:00
mdipierro
1c2ad3b331 redirect(...,type='auto') 2012-08-08 12:17:54 -05:00
mdipierro
084c22c282 redirect(...) now works on ajax responses, thanks Anthony 2012-08-08 10:05:09 -05:00
Massimo Di Pierro
ba93692ed4 fixed issue 728, bug in languages, thanks pgergo 2012-03-26 11:17:20 -05:00
Massimo Di Pierro
d281acb421 fixws and 'new' button in grid query 2011-12-05 11:39:42 -06:00
Massimo Di Pierro
d421c1321b initial commit 2011-11-22 23:30:42 -06:00