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.
1 parent 7fac908 commit 1351609Copy full SHA for 1351609
test/test_java_application.py
@@ -875,6 +875,23 @@ def test_java_application_get_headers():
875
assert headers['X-Reply-0'] == 'blah', 'get headers'
876
assert headers['X-Reply-1'] == 'blah', 'get headers 2'
877
878
+def test_java_application_many_headers():
879
+ client.load('get_headers')
880
+
881
+ value = '0123456789' * 10
882
883
+ headers = client.get(
884
+ headers={
885
+ 'X-Header': [value] * 100,
886
+ 'Content-Type': 'text/html',
887
+ 'Host': 'localhost',
888
+ 'Connection': 'close',
889
+ }
890
+ )['headers']
891
892
+ for i in range(0, 99):
893
+ assert headers[f'X-Reply-{i}'] == value, 'many headers'
894
895
896
def test_java_application_get_headers_empty():
897
client.load('get_headers')
0 commit comments