Skip to content

Commit 2a62e89

Browse files
committed
Add 'Access-Control-Expose-Headers' to a couple of tests.
1 parent a313115 commit 2a62e89

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_cgi.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1461,6 +1461,7 @@ def wh(s):
14611461
'Access-Control-Allow-Headers': 'Content-Type, Authorization, '
14621462
'X-Requested-With, X-HTTP-Method-Override',
14631463
'Access-Control-Allow-Methods': 'HEAD, OPTIONS, GET, POST, PUT, DELETE, PATCH',
1464+
'Access-Control-Expose-Headers': 'X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-RateLimit-Limit-Period, Retry-After, Sunset, Allow',
14641465
'Access-Control-Allow-Origin': 'http://whoami.com',
14651466
'Access-Control-Max-Age': '86400',
14661467
'Allow': 'OPTIONS, GET, POST, PUT, DELETE, PATCH',
@@ -1519,6 +1520,7 @@ def wh(s):
15191520
'Access-Control-Allow-Headers': 'Content-Type, Authorization, '
15201521
'X-Requested-With, X-HTTP-Method-Override',
15211522
'Access-Control-Allow-Methods': 'OPTIONS, GET, POST',
1523+
'Access-Control-Expose-Headers': 'X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-RateLimit-Limit-Period, Retry-After, Sunset, Allow',
15221524
'Access-Control-Allow-Origin': 'http://whoami.com',
15231525
'Access-Control-Max-Age': '86400',
15241526
'Allow': 'OPTIONS, GET, POST',

0 commit comments

Comments
 (0)