@@ -434,14 +434,15 @@ <h3>Processing model</h3>
434
434
435
435
< li > < p > If < var > request</ var > has a < a > Host header</ a > ,
436
436
let < var > host</ var > be the value of that header. Otherwise
437
- let < var > host</ var > be null .</ p > </ li >
437
+ let < var > host</ var > be undefined .</ p > </ li >
438
438
439
439
< li > < p > If < var > request</ var > has an < a > Origin header</ a > ,
440
440
let < var > origin</ var > be the value of that header. Otherwise
441
- let < var > origin</ var > be null .</ p > </ li >
441
+ let < var > origin</ var > be undefined .</ p > </ li >
442
442
443
443
< li > < p > If any of the following conditions hold:
444
444
< ul >
445
+ < li > < p > < var > host</ var > is undefined.</ p > </ li >
445
446
< li > < p > < var > host</ var > doesn't match the < code > Host</ code >
446
447
grammar [[RFC7230]]</ p > </ li >
447
448
< li > < p > The result of < a > host parsing</ a > the < code > uri-host</ code >
@@ -466,8 +467,8 @@ <h3>Processing model</h3>
466
467
only accepting connections when the < var > host</ var > value
467
468
corresponds to a loopback interface [[RFC5735]].</ p > </ li >
468
469
469
- < li > < p > If < var > origin</ var > is not null, and is not identical to an
470
- < a > Origin header</ a > value that the implementation has been
470
+ < li > < p > If < var > origin</ var > is not undefined and is not identical to
471
+ an < a > Origin header</ a > value that the implementation has been
471
472
configured to allow, then stop running these steps and act as if the
472
473
requested service is not available.</ p >
473
474
0 commit comments