Skip to content

doc: fix article usage before vowel-sound acronyms#62696

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
joao-oliveira-softtor:doc/article-usage-vowel-acronyms
May 19, 2026
Merged

doc: fix article usage before vowel-sound acronyms#62696
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
joao-oliveira-softtor:doc/article-usage-vowel-acronyms

Conversation

@joao-oliveira-softtor
Copy link
Copy Markdown
Contributor

Doc change

Several prose references across the API docs use the article a where the following acronym starts with a vowel sound and should take an instead. The rule is based on pronunciation, not spelling:

Acronym Pronounced Correct article
HTTP aitch-tee-tee-pee an HTTP
HTTPS aitch-tee-tee-pee-ess an HTTPS
SSL ess-es-el an SSL
HPE_HEADER_OVERFLOW aitch-pee-ee... an HPE_...
ECMAScript ek-mah-script an ECMAScript

Affected occurrences

13 instances across 5 files:

  • doc/api/crypto.md — 1: "Instructs OpenSSL to disable a SSL 3.0/TLS 1.0 vulnerability"
  • doc/api/http.md — 7: five a HTTP (one HTTP/1.1, two HTTP parser, two HTTP '4xx') plus two a HPE_HEADER_OVERFLOW error
  • doc/api/http2.md — 2: two code-sample comments reading // Detects if it is a HTTPS request or HTTP/2
  • doc/api/module.md — 1: compiles a CommonJS, a ECMAScript Module, or a TypeScript module — only the middle article changes; a CommonJS and a TypeScript are already correct
  • doc/api/tls.md — 2: both getFinished() and getPeerFinished() describe data "sent/received as part of a SSL/TLS handshake"

Not in scope

  • errors.md:2043 — "The syntax of a MIME is not valid." — MIME is typically spoken as a word ("mime", rhymes with "time"), consonant start, so a MIME is already correct.
  • a TLS ... occurrences — TLS is "tee-el-es", consonant start, already correct.

Verification

Docs-only change. No code, build, or behavior impact.

Several prose references to HTTP, HTTPS, SSL, HPE_HEADER_OVERFLOW
and ECMAScript used the article "a" where the acronym starts with
a vowel sound and should take "an". The rule is based on
pronunciation, not spelling: HTTP is read "aitch-tee-tee-pee",
SSL is read "ess-es-el", ECMAScript is read "ek-mah-script",
and HPE is read "aitch-pee-ee" — all starting with a vowel sound.

Affected files:

* doc/api/crypto.md — "disable a SSL 3.0/TLS 1.0 vulnerability"
* doc/api/http.md — five occurrences ("a HTTP '400 Bad Request'",
  "a HTTP '431 Request Header Fields Too Large'", "a HTTP/1.1 102
  Processing message", two copies of "use a HTTP parser") plus
  two references to "a HPE_HEADER_OVERFLOW"
* doc/api/http2.md — two code-sample comments reading
  "// Detects if it is a HTTPS request or HTTP/2"
* doc/api/module.md — "compiles a CommonJS, a ECMAScript Module,
  or a TypeScript module" (only the middle article changes; the
  adjacent "a CommonJS" and "a TypeScript" are both correct)
* doc/api/tls.md — two references to "part of a SSL/TLS handshake"
  in tlsSocket.getFinished() and tlsSocket.getPeerFinished()

No behavior changes, documentation only.

Signed-off-by: João Victor Oliveira <joao.oliveira@softtor.com.br>
@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/crypto
  • @nodejs/http
  • @nodejs/http2
  • @nodejs/loaders
  • @nodejs/net

@nodejs-github-bot nodejs-github-bot added the doc Issues and PRs related to the documentations. label Apr 11, 2026
@aduh95 aduh95 added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue Add this label to land a pull request using GitHub Actions. labels May 19, 2026
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label May 19, 2026
@nodejs-github-bot nodejs-github-bot merged commit 0c7034f into nodejs:main May 19, 2026
28 checks passed
@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

Landed in 0c7034f

aduh95 pushed a commit that referenced this pull request May 20, 2026
Several prose references to HTTP, HTTPS, SSL, HPE_HEADER_OVERFLOW
and ECMAScript used the article "a" where the acronym starts with
a vowel sound and should take "an". The rule is based on
pronunciation, not spelling: HTTP is read "aitch-tee-tee-pee",
SSL is read "ess-es-el", ECMAScript is read "ek-mah-script",
and HPE is read "aitch-pee-ee" — all starting with a vowel sound.

Affected files:

* doc/api/crypto.md — "disable a SSL 3.0/TLS 1.0 vulnerability"
* doc/api/http.md — five occurrences ("a HTTP '400 Bad Request'",
  "a HTTP '431 Request Header Fields Too Large'", "a HTTP/1.1 102
  Processing message", two copies of "use a HTTP parser") plus
  two references to "a HPE_HEADER_OVERFLOW"
* doc/api/http2.md — two code-sample comments reading
  "// Detects if it is a HTTPS request or HTTP/2"
* doc/api/module.md — "compiles a CommonJS, a ECMAScript Module,
  or a TypeScript module" (only the middle article changes; the
  adjacent "a CommonJS" and "a TypeScript" are both correct)
* doc/api/tls.md — two references to "part of a SSL/TLS handshake"
  in tlsSocket.getFinished() and tlsSocket.getPeerFinished()

No behavior changes, documentation only.

Signed-off-by: João Victor Oliveira <joao.oliveira@softtor.com.br>
PR-URL: #62696
Reviewed-By: Aviv Keller <me@aviv.sh>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
Reviewed-By: Jacob Smith <jacob@frende.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. doc Issues and PRs related to the documentations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants