Lines Matching refs:code
82 # HTTPMessage, parse_headers(), and the HTTP status code constants are
178 # http.server.CGIHTTPRequestHandler. Maybe move the code there so
302 # The status code is a three-digit number
327 self.code = self.status = status
333 self.version = 11 # use HTTP/1.1 code for HTTP/1.x where x>=1
784 '''Return the HTTP status code that was sent with the response,
922 (version, code, message) = response._read_status()
924 if code != http.HTTPStatus.OK:
926 raise OSError(f"Tunnel connection failed: {code} {message.strip()}")
1194 # code should be changed (removed or updated).
1308 # compatibility, assuming the client code is already handling the