Lines Matching refs:status
53 * The status is a string, contains a space, starts with an integer,
61 * That there is no 'status' header (that is used in CGI, but not in
163 status = args[0]
170 check_status(status)
172 check_content_type(status, headers)
375 def check_status(status):
376 status = check_string_type(status, "Status")
378 status_code = status.split(None, 1)[0]
383 if len(status) < 4 or status[3] != ' ':
385 "The status string (%r) should be a three-digit integer "
386 "followed by a single space and a status explanation"
387 % status, WSGIWarning)
401 assert_(name.lower() != 'status',
403 "script, and HTTP status is not given through headers "
414 def check_content_type(status, headers):
415 status = check_string_type(status, "Status")
416 code = int(status.split(None, 1)[0])