summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/browsing-topics/resources/check-topics-request-header.py
blob: 569b75449635c51e6581afecb582cdb818e6c120 (plain)
1
2
3
4
def main(request, response):
    topics_header = request.headers.get(b"sec-browsing-topics", b"NO_TOPICS_HEADER")
    response.headers.append(b"Access-Control-Allow-Origin", b"*")
    response.content = topics_header