File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,6 @@ requests==2.27.1
19
19
service_identity==21.1.0
20
20
setuptools==60.9.0
21
21
twine==3.8.0
22
- twisted==22.1 .0
22
+ twisted==22.2 .0
23
23
types-pyOpenSSL==22.0.0
24
24
wheel==0.37.1
Original file line number Diff line number Diff line change @@ -212,9 +212,9 @@ def test_should_support_multipart_form_data(
212
212
},
213
213
)
214
214
assert server_req .value .method == b"POST"
215
- assert server_req .value .getHeader ("Content-Type" ). startswith (
216
- "multipart/form-data; "
217
- )
215
+ content_type = server_req .value .getHeader ("Content-Type" )
216
+ assert content_type
217
+ assert content_type . startswith ( "multipart/form-data; " )
218
218
assert server_req .value .getHeader ("Content-Length" ) == str (
219
219
len (server_req .value .post_body ) # type: ignore
220
220
)
You can’t perform that action at this time.
0 commit comments