Lines Matching refs:HTTPStatus
108 from http import HTTPStatus
307 HTTPStatus.BAD_REQUEST,
314 HTTPStatus.HTTP_VERSION_NOT_SUPPORTED,
321 HTTPStatus.BAD_REQUEST,
329 HTTPStatus.BAD_REQUEST,
340 HTTPStatus.REQUEST_HEADER_FIELDS_TOO_LARGE,
346 HTTPStatus.REQUEST_HEADER_FIELDS_TOO_LARGE,
381 self.send_response_only(HTTPStatus.CONTINUE)
399 self.send_error(HTTPStatus.REQUEST_URI_TOO_LONG)
410 HTTPStatus.NOT_IMPLEMENTED,
465 code not in (HTTPStatus.NO_CONTENT,
466 HTTPStatus.RESET_CONTENT,
467 HTTPStatus.NOT_MODIFIED)):
541 if isinstance(code, HTTPStatus):
623 for v in HTTPStatus.__members__.values()
680 self.send_response(HTTPStatus.MOVED_PERMANENTLY)
698 self.send_error(HTTPStatus.NOT_FOUND, "File not found")
726 self.send_response(HTTPStatus.NOT_MODIFIED)
731 self.send_response(HTTPStatus.OK)
754 HTTPStatus.NOT_FOUND,
794 self.send_response(HTTPStatus.OK)
982 HTTPStatus.NOT_IMPLEMENTED,
1058 HTTPStatus.NOT_FOUND,
1063 HTTPStatus.FORBIDDEN,
1070 HTTPStatus.FORBIDDEN,
1139 self.send_response(HTTPStatus.OK, "Script output follows")