MCPcopy Create free account
hub / github.com/aws/aws-cli / serialize_http_request

Method serialize_http_request

awscli/s3transfer/crt.py:424–436  ·  view source on GitHub ↗

Serialize CRT HTTP requests. :type transfer_type: string :param transfer_type: the type of transfer made, e.g 'put_object', 'get_object', 'delete_object' :type future: s3transfer.crt.CRTTransferFuture :rtype: awscrt.http.HttpRequest :returns: An

(self, transfer_type, future)

Source from the content-addressed store, hash-verified

422
423class BaseCRTRequestSerializer:
424 def serialize_http_request(self, transfer_type, future):
425 """Serialize CRT HTTP requests.
426
427 :type transfer_type: string
428 :param transfer_type: the type of transfer made,
429 e.g 'put_object', 'get_object', 'delete_object'
430
431 :type future: s3transfer.crt.CRTTransferFuture
432
433 :rtype: awscrt.http.HttpRequest
434 :returns: An unsigned HTTP request to be used for the CRT S3 client
435 """
436 raise NotImplementedError('serialize_http_request()')
437
438 def translate_crt_exception(self, exception):
439 raise NotImplementedError('translate_crt_exception()')

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected