Lines Matching refs:request
17 claimed to be managed. Other keys in the root dictionary identify request
18 scopes. Each request scope is described by a dictionary that holds two
73 The handler implements all the request parsing and protobuf message decoding
78 def __init__(self, server, path, headers, request):
83 path: A string containing the request path and query parameters.
85 request: The request data received from the client as a string.
90 self._request = request
94 """Extracts a unique query parameter from the request.
111 """Handles a request.
124 self.DumpMessage('Request', rmsg)
126 request_type = self.GetUniqueParam('request')
134 return (400, 'Invalid request parameter')
142 return (400, 'Invalid request parameter')
145 """Extracts the GoogleLogin auth token from the HTTP request, and
155 """Handles a register request.
189 """Handles a register request.
217 """Handles a 'preregister policy' request.
257 """Handles a policy request that uses the deprecated protcol.
311 """Handles a policy request.
323 if msg.request:
324 for request in msg.request:
325 if request.policy_type == 'google/chromeos/unregistered_user':
327 return (400, 'Invalid request type')
328 return self.ProcessInitialPolicy(request)
329 elif (request.policy_type in
332 return (400, 'Invalid request type')
333 return self.ProcessCloudPolicy(request)
428 """Handles a cloud policy request. (New protocol for policy requests.)
506 Extracts the token from the request and passed to the server in order to
601 def HandleRequest(self, path, headers, request):
602 """Handles a request.
605 path: The request path and query parameters received from the client.
607 request: The request data received from the client as a string.
611 handler = RequestHandler(self, path, headers, request)