(self, httpbin)
| 1120 | assert b"name=\"b'stuff'\"" not in prep.body |
| 1121 | |
| 1122 | def test_unicode_method_name(self, httpbin): |
| 1123 | with open(__file__, "rb") as f: |
| 1124 | files = {"file": f} |
| 1125 | r = requests.request( |
| 1126 | method="POST", |
| 1127 | url=httpbin("post"), |
| 1128 | files=files, |
| 1129 | ) |
| 1130 | assert r.status_code == 200 |
| 1131 | |
| 1132 | def test_unicode_method_name_with_request_object(self, httpbin): |
| 1133 | s = requests.Session() |