Skip to content

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

Open
joao-oliveira-softtor wants to merge 1 commit intonodejs:mainfrom
joao-oliveira-softtor:doc/article-usage-vowel-acronyms
Open

doc: fix article usage before vowel-sound acronyms#62696
joao-oliveira-softtor wants to merge 1 commit intonodejs:mainfrom
joao-oliveira-softtor:doc/article-usage-vowel-acronyms

Conversation

@joao-oliveira-softtor
Copy link
Copy Markdown

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to the documentations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants