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

feat(http/unstable): headers module #4317

Merged
merged 9 commits into from
Aug 6, 2024

Conversation

halvardssm
Copy link
Contributor

Adds IANA Headers as a follow-up from #4304

@halvardssm halvardssm requested a review from kt3k as a code owner February 12, 2024 12:37
@github-actions github-actions bot added the http label Feb 12, 2024
@halvardssm halvardssm changed the title Added IANA headers feat(http): add iana headers to the http namespace Feb 12, 2024
@kt3k kt3k added the feedback welcome We want community's feedback on this issue or PR label Feb 13, 2024
@iuioiua iuioiua changed the title feat(http): add iana headers to the http namespace feat(http): @std/http/headers Aug 5, 2024
Copy link
Contributor

@iuioiua iuioiua left a comment

Choose a reason for hiding this comment

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

Yoshiya and I would now like to have this addition.

Can you please remove HttpHeaderDeprecated, HttpHeaderObsoleted and HttpHeaderProvisional objects? What's now HttpHeaderPermanent seems to be the only object needed for now.

Can you please also add simple/minimal tests to ensure the plumbing works?

http/header.ts Outdated Show resolved Hide resolved
http/header.ts Outdated Show resolved Hide resolved
@kt3k kt3k changed the title feat(http): @std/http/headers feat(http/unstable): @std/http/headers Aug 5, 2024
halvardssm and others added 2 commits August 5, 2024 18:24
Copy link

codecov bot commented Aug 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.43%. Comparing base (fdadd53) to head (ba09f7c).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4317      +/-   ##
==========================================
+ Coverage   96.38%   96.43%   +0.04%     
==========================================
  Files         466      467       +1     
  Lines       37588    38097     +509     
  Branches     5542     5542              
==========================================
+ Hits        36228    36737     +509     
  Misses       1318     1318              
  Partials       42       42              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@halvardssm halvardssm requested a review from iuioiua August 5, 2024 16:32
@halvardssm
Copy link
Contributor Author

@iuioiua Done! Let me know if there is anything else!

@iuioiua iuioiua changed the title feat(http/unstable): @std/http/headers feat(http/unstable): headers module Aug 6, 2024
@iuioiua iuioiua enabled auto-merge (squash) August 6, 2024 09:28
Copy link
Contributor

@iuioiua iuioiua left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you for this.

@iuioiua iuioiua merged commit 259ce6d into denoland:main Aug 6, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feedback welcome We want community's feedback on this issue or PR http
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants