(self, str)
| 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) |
no outgoing calls
no test coverage detected