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

Method send

awscli/botocore/awsrequest.py:211–223  ·  view source on GitHub ↗
(self, str)

Source from the content-addressed store, hash-verified

209 self.send(message_body)
210
211 def send(self, str):
212 if self._response_received:
213 if not self._send_called:
214 # urllib3 2.0 chunks and calls send potentially
215 # thousands of times inside `request` unlike the
216 # standard library. Only log this once for sanity.
217 logger.debug(
218 "send() called, but response already received. "
219 "Not sending data."
220 )
221 self._send_called = True
222 return
223 return super().send(str)
224
225 def _is_100_continue_status(self, maybe_status_line):
226 parts = maybe_status_line.split(None, 2)

Callers 7

_send_outputMethod · 0.95
_send_message_bodyMethod · 0.95
_fetch_metadata_tokenMethod · 0.45
_get_requestMethod · 0.45
_get_responseMethod · 0.45
_sendMethod · 0.45
planMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected