Skip to content

Commit 099a15b

Browse files
IssungJosh-Cenahamishwillee
authored
Use consistent capitalisation for "ETag" (mdn#40554)
* Use consistent capitalisation for "ETag" * Fix another * Update index.md --------- Co-authored-by: Joshua Chen <sidachen2003@gmail.com> Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
1 parent 9cf4a4a commit 099a15b

File tree

3 files changed

+4
-4
lines changed
  • files/en-us
    • glossary/response_header
    • learn_web_development/getting_started/web_standards/how_the_web_works
    • web/http/reference/headers/etag

3 files changed

+4
-4
lines changed

files/en-us/glossary/response_header/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Connection: Keep-Alive
1818
Content-Encoding: gzip
1919
Content-Type: text/html; charset=utf-8
2020
Date: Mon, 18 Jul 2016 16:06:00 GMT
21-
Etag: "c561c68d0ba92bbeb8b0f612a9199f722e3a621a"
21+
ETag: "c561c68d0ba92bbeb8b0f612a9199f722e3a621a"
2222
Keep-Alive: timeout=5, max=997
2323
Last-Modified: Mon, 18 Jul 2016 02:36:04 GMT
2424
Server: Apache

files/en-us/learn_web_development/getting_started/web_standards/how_the_web_works/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ date: Tue, 11 Feb 2025 11:13:30 GMT
119119
expires: Tue, 11 Feb 2025 11:40:01 GMT
120120
server: Google frontend
121121
last-modified: Tue, 11 Feb 2025 00:49:32 GMT
122-
etag: "65f26b7f6463e2347f4e5a7a2adcee54"
122+
ETag: "65f26b7f6463e2347f4e5a7a2adcee54"
123123
content-length: 45227
124124
content-type: text/html
125125

files/en-us/web/http/reference/headers/etag/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The HTTP **`ETag`** (entity tag) {{Glossary("response header")}} is an identifie
1111
It lets [caches](/en-US/docs/Web/HTTP/Guides/Caching) be more efficient and save bandwidth, as a web server does not need to resend a full response if the content has not changed.
1212
Additionally, ETags help to prevent simultaneous updates of a resource from overwriting each other (["mid-air collisions"](#avoiding_mid-air_collisions)).
1313

14-
If the resource at a given URL changes, a new `Etag` value _must_ be generated.
14+
If the resource at a given URL changes, a new `ETag` value _must_ be generated.
1515
A comparison of them can determine whether two representations of a resource are the same.
1616

1717
<table class="properties">
@@ -59,7 +59,7 @@ ETag: W/"0815"
5959

6060
With the help of the `ETag` and the {{HTTPHeader("If-Match")}} headers, you can detect mid-air edit collisions (conflicts).
6161

62-
For example, when editing a wiki, the current wiki content may be hashed and put into an `Etag` header in the response:
62+
For example, when editing a wiki, the current wiki content may be hashed and put into an `ETag` header in the response:
6363

6464
```http
6565
ETag: "33a64df551425fcc55e4d42a148795d9f25f89d4"

0 commit comments

Comments
 (0)