@@ -434,14 +434,15 @@ <h3>Processing model</h3>
434434
435435 < li > < p > If < var > request</ var > has a < a > Host header</ a > ,
436436 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 >
438438
439439 < li > < p > If < var > request</ var > has an < a > Origin header</ a > ,
440440 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 >
442442
443443 < li > < p > If any of the following conditions hold:
444444 < ul >
445+ < li > < p > < var > host</ var > is undefined.</ p > </ li >
445446 < li > < p > < var > host</ var > doesn't match the < code > Host</ code >
446447 grammar [[RFC7230]]</ p > </ li >
447448 < li > < p > The result of < a > host parsing</ a > the < code > uri-host</ code >
@@ -454,8 +455,8 @@ <h3>Processing model</h3>
454455 < li > < p > The < code > port</ code > part of < var > host</ var > is not
455456 present, and the port of the HTTP server doesn't match the
456457 default port for the request's scheme.</ p > </ li >
457- < li > < p > implementation wants to reject
458- connections with < var > host</ var > as the < a > Host header</ a > .</ li > </ p >
458+ < li > < p > The implementation wants to reject connections
459+ with < var > host</ var > as the < a > Host header</ a > .</ li > </ p >
459460 </ ul >
460461 < p > Then < a > send an error</ a > with < a > error code</ a > < a > unknown
461462 error</ a > , and jump to step 1.</ p >
@@ -466,8 +467,8 @@ <h3>Processing model</h3>
466467 only accepting connections when the < var > host</ var > value
467468 corresponds to a loopback interface [[RFC5735]].</ p > </ li >
468469
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
471472 configured to allow, then stop running these steps and act as if the
472473 requested service is not available.</ p >
473474
0 commit comments