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(
216216
217217 if pdict ['boundary' ].encode () not in request .body :
218218 context .status_code = codes .BAD_REQUEST
219- context .headers ['Content-Type' ] = 'text/html'
219+ context .headers ['Content-Type' ] = 'text/html;charset=UTF-8 '
220220 return (
221221 'java.lang.RuntimeException: RESTEASY007500: '
222222 '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(
271271 assert_vwq_failure (
272272 response = response ,
273273 status_code = codes .BAD_REQUEST ,
274- content_type = 'text/html' ,
274+ content_type = 'text/html;charset=UTF-8 ' ,
275275 )
276276
277277 def test_extra_section (
You can’t perform that action at this time.
0 commit comments