(r)
| 831 | |
| 832 | |
| 833 | def get_protocol_version(r): |
| 834 | protocol = _get_raw_protocol(r) |
| 835 | # ``protocol is None`` means the caller did not specify one, so the |
| 836 | # connection negotiates the library default on the wire. |
| 837 | if protocol is None: |
| 838 | return DEFAULT_RESP_VERSION |
| 839 | return protocol |
| 840 | |
| 841 | |
| 842 | def get_legacy_responses(r): |
no test coverage detected