diff options
Diffstat (limited to 'testing/web-platform/tests/navigation-api/navigation-methods/resources/slow-no-store.py')
-rw-r--r-- | testing/web-platform/tests/navigation-api/navigation-methods/resources/slow-no-store.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/web-platform/tests/navigation-api/navigation-methods/resources/slow-no-store.py b/testing/web-platform/tests/navigation-api/navigation-methods/resources/slow-no-store.py new file mode 100644 index 0000000000..48e5fc0266 --- /dev/null +++ b/testing/web-platform/tests/navigation-api/navigation-methods/resources/slow-no-store.py @@ -0,0 +1,6 @@ +import time + +def main(request, response): + # Sleep for 1sec + time.sleep(1) + response.headers.set(b"Cache-Control", b"no-cache, no-store, must-revalidate"); |