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

Remove unnecessary fields and URL parts #164

Merged
merged 2 commits into from
Sep 29, 2023
Merged

Remove unnecessary fields and URL parts #164

merged 2 commits into from
Sep 29, 2023

Conversation

clelland
Copy link
Contributor

@clelland clelland commented Sep 27, 2023

This removes from NEL reports the fields which are not relevant to a given error, given the connection phase.

Closes: #105


Preview | Diff

Copy link
Contributor

@yoavweiss yoavweiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

<p>Let <var>url</var> be <var>request</var>'s URL.</p>
</li>
<li>
<p>Clear <var>url</var>'s <a>fragment</a>.</p>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add a TODO or open an issue to rebase all this on Fetch and well defined concepts of what request's URL is?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely; "Network request" is not well defined in this spec, and this should really be linked to RFC7232; However, Fetch is a much better fit for a W3C spec. Filed #166 for that.

@clelland clelland merged commit 2aee720 into gh-pages Sep 29, 2023
2 checks passed
@clelland clelland deleted the clear-fields branch September 29, 2023 14:34
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

Successfully merging this pull request may close these issues.

Clear report body fields based on phase and report destination
2 participants