Test whether a file-like object is a text or a binary stream.
(stream)
| 851 | |
| 852 | @staticmethod |
| 853 | def _is_textIO(stream): |
| 854 | """Test whether a file-like object is a text or a binary stream. |
| 855 | """ |
| 856 | return isinstance(stream, io.TextIOBase) |
| 857 | |
| 858 | @staticmethod |
| 859 | def _get_content_length(body, method): |
no outgoing calls
no test coverage detected