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 and server improvements #170

Merged
merged 2 commits into from
Feb 28, 2023
Merged

feat: http and server improvements #170

merged 2 commits into from
Feb 28, 2023

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Feb 28, 2023

This PR brings several improvements to http driver and compliant HTTP server:

  • Properly apply a base for getKeys operation
  • Native raw support (application/octet-stream)
  • Implemented clear method (DELETE with : or / ending path)
  • Passing standard test suit over http
  • Exposed new createH3StorageHandler

@codecov
Copy link

codecov bot commented Feb 28, 2023

Codecov Report

Merging #170 (9315bb9) into main (10d2610) will decrease coverage by 0.38%.
The diff coverage is 88.88%.

@@            Coverage Diff             @@
##             main     #170      +/-   ##
==========================================
- Coverage   79.59%   79.22%   -0.38%     
==========================================
  Files          22       22              
  Lines        2348     2397      +49     
  Branches      404      418      +14     
==========================================
+ Hits         1869     1899      +30     
- Misses        479      498      +19     
Impacted Files Coverage Δ
src/server.ts 88.23% <85.33%> (-6.14%) ⬇️
src/drivers/http.ts 83.58% <100.00%> (-2.14%) ⬇️
src/storage.ts 87.96% <0.00%> (-1.88%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@nuxt-studio
Copy link

nuxt-studio bot commented Feb 28, 2023

Live Preview ready!

Name Edit Preview Latest Commit
unstorage Edit on Studio ↗︎ View Live Preview a6602f4

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.

1 participant