Commit c3b88e1e authored by Alexandre's avatar Alexandre

[DoH] Allow 415 when testing MIME types

parent 640c1041
......@@ -260,6 +260,8 @@ def do_check(connection, requests, opts):
if level >= opts.mandatory_level:
ok = request.check_response(connection.debug)
if request.rcode == 415 and 'Test Header MIME' in test_name:
ok = True
print_check_result(test_name, ok, verbose=connection.verbose)
print_result(connection, request, prefix=test_name, display_err=not ok)
if not ok:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment