File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/mock_vws/_query_validators Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ def validate_content_type_header(
216
216
217
217
if pdict ['boundary' ].encode () not in request .body :
218
218
context .status_code = codes .BAD_REQUEST
219
- context .headers ['Content-Type' ] = 'text/html'
219
+ context .headers ['Content-Type' ] = 'text/html;charset=UTF-8 '
220
220
return (
221
221
'java.lang.RuntimeException: RESTEASY007500: '
222
222
'Could find no Content-Disposition header within part'
Original file line number Diff line number Diff line change @@ -271,7 +271,7 @@ def test_bogus_boundary(
271
271
assert_vwq_failure (
272
272
response = response ,
273
273
status_code = codes .BAD_REQUEST ,
274
- content_type = 'text/html' ,
274
+ content_type = 'text/html;charset=UTF-8 ' ,
275
275
)
276
276
277
277
def test_extra_section (
You can’t perform that action at this time.
0 commit comments