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

chore: rephrase some comments #2717

Merged
merged 1 commit into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/fetch/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ function fetching ({
useParallelQueue = false,
dispatcher // undici
}) {
// This has bitten me in the ass more times than I'd like to admit.
// Ensure that the dispatcher is set accordingly
assert(dispatcher)

// 1. Let taskDestination be null.
Expand Down
2 changes: 1 addition & 1 deletion lib/fetch/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,7 @@ function simpleRangeHeaderValue (value, allowWhitespace) {

// 13. If allowWhitespace is true, collect a sequence of code points that are HTTP tab
// or space, from data given position.
// Note from Khafra: its the same fucking step again lol
// Note from Khafra: its the same step as in #8 again lol
if (allowWhitespace) {
collectASequenceOfCodePoints(
(char) => char === '\t' || char === ' ',
Expand Down