We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f6165d4 + 35b0066 commit 455a38eCopy full SHA for 455a38e
src/mock_vws/_query_validators/__init__.py
@@ -208,7 +208,7 @@ def validate_content_type_header(
208
209
if 'boundary' not in pdict:
210
context.status_code = codes.BAD_REQUEST
211
- context.headers['Content-Type'] = 'text/html'
+ context.headers['Content-Type'] = 'text/html;charset=UTF-8'
212
return (
213
'java.io.IOException: RESTEASY007550: '
214
'Unable to get boundary for multipart'
tests/mock_vws/test_query.py
@@ -219,7 +219,7 @@ def test_no_boundary(
219
assert_vwq_failure(
220
response=response,
221
status_code=codes.BAD_REQUEST,
222
- content_type='text/html',
+ content_type='text/html;charset=UTF-8',
223
)
224
225
def test_bogus_boundary(
0 commit comments