Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent optionality for settings when generating reports #257

Open
jyasskin opened this issue Sep 29, 2022 · 0 comments
Open

Inconsistent optionality for settings when generating reports #257

jyasskin opened this issue Sep 29, 2022 · 0 comments
Assignees

Comments

@jyasskin
Copy link
Member

https://www.w3.org/TR/reporting-1/#generate-and-queue-a-report says that settings is required, but then says "If settings is given".

https://www.w3.org/TR/reporting-1/#generate-a-report, which it calls, says both settings and url are optional, but has "If url was not provided by the caller, let url be settings’s creation URL." with no consideration of what happens if both are missing.

Probably "generate a report" should say ~"and either a settings or a url", and "generate and queue a report" should also say "either a settings or a url", since some call sites in HTTP don't have a settings immediately available.

@clelland clelland self-assigned this Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants