summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/.well-known/attribution-reporting/debug
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/.well-known/attribution-reporting/debug')
-rw-r--r--testing/web-platform/tests/.well-known/attribution-reporting/debug/report-aggregate-attribution8
-rw-r--r--testing/web-platform/tests/.well-known/attribution-reporting/debug/report-event-attribution8
-rw-r--r--testing/web-platform/tests/.well-known/attribution-reporting/debug/verbose8
3 files changed, 24 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)