koajs / koa

Expressive middleware for node.js using ES2017 async functions
https://koajs.com
MIT License
35.11k stars 3.22k forks source link

docs: add missing entries to response aliases in context.md #1769

Closed hustLer2k closed 10 months ago

hustLer2k commented 1 year ago

Add ctx.has(), ctx.vary() and ctx.writable to the list of response aliases for context. https://github.com/koajs/koa/blob/master/lib/context.js#L199-L216

Checklist

codecov[bot] commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (dbf4b8f) 98.66% compared to head (7ed2ef0) 98.66%.

:exclamation: Current head 7ed2ef0 differs from pull request most recent head ec5e95f. Consider uploading reports for the commit ec5e95f to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1769 +/- ## ======================================= Coverage 98.66% 98.66% ======================================= Files 5 5 Lines 523 523 Branches 146 146 ======================================= Hits 516 516 Misses 7 7 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.