changeset 7160:ed63b6d35838

Add 'Access-Control-Expose-Headers' to a couple of tests.
author John Rouillard <rouilj@ieee.org>
date Thu, 23 Feb 2023 17:20:41 -0500
parents 765222ef4cec
children be7849588372
files test/test_cgi.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/test_cgi.py	Thu Feb 23 16:20:32 2023 -0500
+++ b/test/test_cgi.py	Thu Feb 23 17:20:41 2023 -0500
@@ -1461,6 +1461,7 @@
             'Access-Control-Allow-Headers': 'Content-Type, Authorization, '
                                  'X-Requested-With, X-HTTP-Method-Override',
             'Access-Control-Allow-Methods': 'HEAD, OPTIONS, GET, POST, PUT, DELETE, PATCH',
+            'Access-Control-Expose-Headers': 'X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-RateLimit-Limit-Period, Retry-After, Sunset, Allow',
             'Access-Control-Allow-Origin': 'http://whoami.com',
             'Access-Control-Max-Age': '86400',
             'Allow': 'OPTIONS, GET, POST, PUT, DELETE, PATCH',
@@ -1519,6 +1520,7 @@
             'Access-Control-Allow-Headers': 'Content-Type, Authorization, '
                                  'X-Requested-With, X-HTTP-Method-Override',
             'Access-Control-Allow-Methods': 'OPTIONS, GET, POST',
+            'Access-Control-Expose-Headers': 'X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-RateLimit-Limit-Period, Retry-After, Sunset, Allow',
             'Access-Control-Allow-Origin': 'http://whoami.com',
             'Access-Control-Max-Age': '86400',
             'Allow': 'OPTIONS, GET, POST',

Roundup Issue Tracker: http://roundup-tracker.org/