diff options
Diffstat (limited to 'testing/web-platform/tests/.well-known/attribution-reporting')
5 files changed, 40 insertions, 0 deletions
diff --git a/testing/web-platform/tests/.well-known/attribution-reporting/debug/report-aggregate-attribution b/testing/web-platform/tests/.well-known/attribution-reporting/debug/report-aggregate-attribution new file mode 100644 index 0000000000..9a5de3bdf5 --- /dev/null +++ b/testing/web-platform/tests/.well-known/attribution-reporting/debug/report-aggregate-attribution @@ -0,0 +1,8 @@ +"""Endpoint to receive and return aggregatable debug reports.""" +from importlib import import_module + +reports = import_module('attribution-reporting.resources.reports') + + +def main(request, response): + return reports.handle_reports(request) diff --git a/testing/web-platform/tests/.well-known/attribution-reporting/debug/report-event-attribution b/testing/web-platform/tests/.well-known/attribution-reporting/debug/report-event-attribution new file mode 100644 index 0000000000..605d7589e0 --- /dev/null +++ b/testing/web-platform/tests/.well-known/attribution-reporting/debug/report-event-attribution @@ -0,0 +1,8 @@ +"""Endpoint to receive and return event-level debug reports.""" +from importlib import import_module + +reports = import_module('attribution-reporting.resources.reports') + + +def main(request, response): + return reports.handle_reports(request) diff --git a/testing/web-platform/tests/.well-known/attribution-reporting/debug/verbose b/testing/web-platform/tests/.well-known/attribution-reporting/debug/verbose new file mode 100644 index 0000000000..7267cb10b7 --- /dev/null +++ b/testing/web-platform/tests/.well-known/attribution-reporting/debug/verbose @@ -0,0 +1,8 @@ +"""Endpoint to receive and return verbose debug reports.""" +from importlib import import_module + +reports = import_module('attribution-reporting.resources.reports') + + +def main(request, response): + return reports.handle_reports(request) diff --git a/testing/web-platform/tests/.well-known/attribution-reporting/report-aggregate-attribution b/testing/web-platform/tests/.well-known/attribution-reporting/report-aggregate-attribution new file mode 100644 index 0000000000..ffe9358e69 --- /dev/null +++ b/testing/web-platform/tests/.well-known/attribution-reporting/report-aggregate-attribution @@ -0,0 +1,8 @@ +"""Endpoint to receive and return aggregatable attribution reports.""" +from importlib import import_module + +reports = import_module('attribution-reporting.resources.reports') + + +def main(request, response): + return reports.handle_reports(request) diff --git a/testing/web-platform/tests/.well-known/attribution-reporting/report-event-attribution b/testing/web-platform/tests/.well-known/attribution-reporting/report-event-attribution new file mode 100644 index 0000000000..8ac52645a7 --- /dev/null +++ b/testing/web-platform/tests/.well-known/attribution-reporting/report-event-attribution @@ -0,0 +1,8 @@ +"""Endpoint to receive and return event-level attribution reports.""" +from importlib import import_module + +reports = import_module('attribution-reporting.resources.reports') + + +def main(request, response): + return reports.handle_reports(request) |