Lines Matching refs:request

149                 cherrypy.request.path_info that returns the publisher used
150 for a given request.
298 for the current operation from the request path. Returns None
299 if a publisher prefix was not found in the request path. The
307 return self.request_pub_func(cherrypy.request.path_info)
309 req_pub = cherrypy.request.path_info.strip("/").split(
315 # Assume that if the first component of the request path
329 long from when the request was made the content returned
411 """Any request that is not explicitly mapped to the repository
426 request = cherrypy.request
430 return face.respond(self, request, response, pub)
462 rel_uri = cherrypy.request.path_info
463 if cherrypy.request.query_string:
465 cherrypy.request.query_string)
491 """Based on the request path, return a list of packages that
495 # Check for the GET method of doing a search request.
501 # Check for the POST method of doing a search request.
573 name in the request path, directly to the client."""
597 """The request is an encoded pkg FMRI. If the version is
619 # Parse request into FMRI component and decode.
621 # If more than one token (request path component) was
648 method = cherrypy.request.method
656 # We need to prevent cherrypy from processing the request body so that
657 # manifest can parse the request body itself. In addition, we also need
661 "request.process_request_body": False,
669 request in the event of an exception."""
671 tar_stream = cherrypy.request.tar_stream
675 # are done processing the request.
690 cherrypy.request.tar_stream = None
695 name in the request path, directly to the client."""
720 name in the request path, directly to the client."""
722 method = cherrypy.request.method
730 # We need to prevent cherrypy from processing the request body so that
731 # file can parse the request body itself. In addition, we also need to
735 "request.process_request_body": False,
742 name in the request path, directly to the client."""
744 method = cherrypy.request.method
787 request path. Returns no output."""
789 request = cherrypy.request
792 client_release = request.headers.get("Client-Release", None)
808 # Assume a bad request was made. A 404 can't be
827 in the request path. Returns no output."""
829 request = cherrypy.request
832 client_release = request.headers.get("Client-Release", None)
848 # Assume a bad request was made. A 404 can't be
867 specified in the request path.
879 request = cherrypy.request
883 add_to_catalog = int(request.headers.get(
899 # Assume a bad request was made. A 404 can't be
987 specified in the request path. Returns no output."""
998 # Assume a bad request was made. A 404 can't be
1006 for the Transaction ID specified in the request path. The
1007 content is expected to be in the request body. Returns no
1026 request = cherrypy.request
1029 for hdr, val in request.headers.items()
1051 size = int(request.headers.get("Content-Length", 0))
1053 data = request.rfile
1070 # Assume a bad request was made. A 404 can't be
1077 # We need to prevent cherrypy from processing the request body so that
1078 # add can parse the request body itself. In addition, we also need to
1082 "request.process_request_body": False,
1094 ID specified in the request path. The content is expected to be
1095 in the request body. Returns no output."""
1104 request = cherrypy.request
1107 size = int(request.headers.get("Content-Length", 0))
1111 data = request.rfile
1114 for hdr, val in request.headers.items()
1121 # Assume a bad request was made. A 404 can't be
1131 ID specified in the request path. The content is expected to be
1132 in the request body. Returns no output."""
1141 request = cherrypy.request
1144 size = int(request.headers.get("Content-Length", 0))
1148 data = request.rfile
1153 # Assume a bad request was made. A 404 can't be
1199 specified package. The request is an encoded pkg FMRI. If
1218 # Parse request into FMRI component and decode.
1220 # If more than one token (request path component) was
1305 # Publisher specified in request is unknown.
1327 the request's publisher or all if not specified."""
1427 # If more than one token (request path component) was
1481 request. Possible outcomes: retryable HTTP error, short nap."""
1483 # Must be set in _cp_config on associated request handler.
1486 # Adjust nastiness values once per incoming request.
1552 # tool which can prevent the main request body from running
1596 # The intention is for this to get adjusted once per request.
1662 cherrypy.log("Nastiness set to {0:d} by client request".format(
1666 # Disable the before handler for this request.
1739 """The request is an encoded pkg FMRI. If the version is
1761 # Parse request into FMRI component and decode.
1763 # If more than one token (request path component) was
1810 name in the request path, directly to the client."""
1862 name in the request path, directly to the client."""