12
12
github : "https://github.com/w3c/network-error-logging/" ,
13
13
shortname : "network-error-logging" ,
14
14
specStatus : "ED" ,
15
- xref : [ "network-reporting" , "fetch" , "hr-time" , "html" , "referrer-policy" , "reporting" , "resource-timing" , "secure-contexts" , "url" ] ,
15
+ xref : [ "network-reporting" , "fetch" , "hr-time" , "html" , "infra" , "mixed-content" , " referrer-policy", "reporting" , "resource-timing" , "secure-contexts" , "url" ] ,
16
16
editors : [ {
17
17
name : "Douglas Creager" ,
18
18
url : "https://dcreager.net/" ,
@@ -117,32 +117,20 @@ <h2>Network requests</h2>
117
117
118
118
< p >
119
119
A < dfn data-lt ="network requests "> network request</ dfn > occurs when the
120
- user agent must use the network to service a single
121
- < dfn data-cite =" RFC9110#core.semantics " > request</ dfn > .
120
+ [= user agent=] attempts to < a data-cite =" fetch#http- network-fetch " > HTTP-network fetch </ a >
121
+ a resource over the network for a given [= request=] .
122
122
</ p >
123
123
124
124
< p >
125
- If the user agent can service a < a > request</ a > out of a local
126
- cache, that < a > request </ a > MUST NOT result in a < a > network
127
- request </ a > .
125
+ A [=request=] MUST NOT result in a < a > network request</ a > if the user
126
+ agent is known to be offline (i.e., when < code > navigator. </ code >
127
+ {{NavigatorOnLine/onLine}} returns < code > false </ code > ) .
128
128
</ p >
129
129
130
130
< p >
131
- If the user agent follows [=redirect status|redirects=] as part of a [=navigate|navigation=],
132
- there MUST be separate < a > network requests</ a > for each < a > request</ a > in
133
- the redirect chain.
134
- </ p >
135
-
136
- < p >
137
- A < a > request</ a > MUST NOT result in a < a > network request</ a > if the user
138
- agent is known to be offline (i.e., when < code > navigator.</ code > {{NavigatorOnLine/onLine}} returns
139
- < code > false</ code > ).
140
- </ p >
141
-
142
- < p >
143
- A < a > request</ a > MUST NOT result in a < a > network request</ a > if it is
144
- blocked due to mixed content or CORS failures. Any < a > CORS-preflight
145
- request</ a > MUST result in its own < a > network request</ a > .
131
+ A [=request=] MUST NOT result in a < a > network request</ a > if it is
132
+ blocked due to [=mixed content=] or [=CORS protocol|CORS=] failures. Any
133
+ [=CORS-preflight request=] MUST result in its own < a > network request</ a > .
146
134
</ p >
147
135
148
136
< p class ="note ">
@@ -160,9 +148,9 @@ <h2>Network requests</h2>
160
148
< ol >
161
149
< li >
162
150
< dfn > DNS resolution</ dfn > : The user agent uses the Domain Name System
163
- [[RFC1034]] to resolve a domain name into an IP address of a
151
+ [[RFC1034]] to resolve a domain name into an [= IP address=] of a
164
152
< dfn data-cite ="RFC9110#core.semantics "> server</ dfn > can that service
165
- HTTP requests to that domain.
153
+ HTTP [= requests=] to that domain.
166
154
</ li >
167
155
168
156
< li >
@@ -173,8 +161,8 @@ <h2>Network requests</h2>
173
161
174
162
< li >
175
163
< dfn > Transmission of request and response</ dfn > : Once the secure
176
- channel is established, the user agent can transmit the HTTP request,
177
- and receive the response from the < a > server</ a > .
164
+ channel is established, the user agent can transmit the HTTP
165
+ [=request=], and receive the [= response=] from the < a > server</ a > .
178
166
</ li >
179
167
</ ol >
180
168
@@ -186,8 +174,8 @@ <h2>Network requests</h2>
186
174
to the same domain. Similarly, HTTP
187
175
< a data-cite ="RFC9112#persistent.connections "> persistent connections</ a >
188
176
allow open connections to be shared for multiple requests to the same
189
- < a > origin </ a > . However, if multiple < a > phases</ a > occur, they will occur
190
- in the above order.
177
+ [=network partition key=] . However, if multiple < a > phases</ a > occur, they
178
+ will occur in the above order.
191
179
</ p >
192
180
193
181
< p class ="ednote ">
@@ -298,8 +286,8 @@ <h2>NEL policies</h2>
298
286
299
287
< p >
300
288
Each < a > NEL policy</ a > has a < dfn > received IP address</ dfn > , which is the
301
- IP address of the < a > server</ a > that the user agent received this < a > NEL
302
- policy</ a > from.
289
+ [= IP address=] of the < a > server</ a > that the user agent received this
290
+ < a > NEL policy</ a > from.
303
291
</ p >
304
292
305
293
< p >
@@ -412,7 +400,7 @@ <h2><code>NEL</code> response header</h2>
412
400
< p >
413
401
The < dfn > < code > NEL</ code > </ dfn > < a > response header</ a > is used to
414
402
communicate an < a > origin</ a > 's < a > NEL policy</ a > to the user agent. The
415
- ABNF (Augmented Backus-Naur Form) syntax for the < a > NEL</ a > header is as
403
+ ABNF (Augmented Backus-Naur Form) [[RFC5234]] syntax for the < a > NEL</ a > header is as
416
404
follows:
417
405
</ p >
418
406
@@ -591,7 +579,8 @@ <h2>Process policy headers</h2>
591
579
592
580
< li >
593
581
Let < var > key</ var > be the result of calling < a > determine the network
594
- partition key</ a > , given < var > request</ var > .
582
+ partition key</ a > , given < var > request</ var > 's
583
+ [=request/reserved client=].
595
584
</ li >
596
585
597
586
< li >
@@ -660,7 +649,7 @@ <h2>Process policy headers</h2>
660
649
< dl >
661
650
< dt > < a > received IP address</ a > </ dt >
662
651
< dd >
663
- the IP address of the < a > server</ a > that the user agent received
652
+ the [= IP address=] of the < a > server</ a > that the user agent received
664
653
< var > response</ var > from
665
654
666
655
< p class ="ednote ">
@@ -742,7 +731,8 @@ <h2>Choose a policy for a request</h2>
742
731
743
732
< li >
744
733
Let < var > key</ var > be the result of calling < a > determine the network
745
- partition key</ a > , given < var > request</ var > .
734
+ partition key</ a > , given < var > request</ var > 's'
735
+ [=request/reserved client=].
746
736
</ li >
747
737
748
738
< li >
@@ -814,10 +804,9 @@ <h2>Extract request headers</h2>
814
804
815
805
< li >
816
806
For each < var > header</ var > in < var > request</ var > 's
817
- [=request/header list=] whose < a
818
- data-lt ="header name "> name</ a > is < var > header name</ var > , append
819
- < var > header</ var > 's < a data-lt ="header value "> value</ a > to
820
- < var > values</ var > .
807
+ [=request/header list=] whose < a data-lt ="header name "> name</ a >
808
+ is < var > header name</ var > , append < var > header</ var > 's
809
+ < a data-lt ="header value "> value</ a > to < var > values</ var > .
821
810
</ li >
822
811
823
812
< li >
0 commit comments