Package wsgiwapi :: Module reason_phrases
[frames] | no frames]

Module reason_phrases

source code

List of HTTP status codes and reason phrases.
Variables
  phrases = '100 Continue', '101 Switching Protocols', '200 OK',...
  phrase_dict = dict((int(phrase [: 3]), phrase) for phrase in p...
Variables Details

phrases

Value:
'100 Continue', '101 Switching Protocols', '200 OK', '201 Created', '2\
02 Accepted', '203 Non-Authoritative Information', '204 No Content', '\
205 Reset Content', '206 Partial Content', '300 Multiple Choices', '30\
1 Moved Permanently', '302 Found (Object moved temporarily)', '303 See\
 Other', '304 Not modified', '305 Use Proxy', '307 Temporary Redirect'\
, '400 Bad Request', '401 Unauthorized', '402 Payment Required', '403 \
Forbidden', '404 Not Found', '405 Method Not Allowed', '406 Not Accept\
able', '407 Proxy Authentication Required', '408 Request Time-out', '4\
...

phrase_dict

Value:
dict((int(phrase [: 3]), phrase) for phrase in phrases)