Package gluon :: Module http
[hide private]
[frames] | no frames]

Module http

source code

This file is part of the web2py Web Framework Copyrighted by Massimo Di Pierro <mdipierro@cs.depaul.edu> License: LGPLv3 (http://www.gnu.org/licenses/lgpl.html)

Classes [hide private]
  HTTP
Functions [hide private]
 
redirect(location='', how=303, client_side=False) source code
Variables [hide private]
  defined_status = {200: 'OK', 201: 'CREATED', 202: 'ACCEPTED', ...
  regex_status = re.compile(r'^\d{3} [0-9A-Z ]+$')
  __package__ = 'gluon'
Variables Details [hide private]

defined_status

Value:
{200: 'OK',
 201: 'CREATED',
 202: 'ACCEPTED',
 203: 'NON-AUTHORITATIVE INFORMATION',
 204: 'NO CONTENT',
 205: 'RESET CONTENT',
 206: 'PARTIAL CONTENT',
 301: 'MOVED PERMANENTLY',
...