The first line of the toy HTTP request names the method, path, and version.

highlighted = computed this step

The first line names the request

The request line has method, path, and version fields. The table parses those fields from the pinned bytes.

method, path, version\text{method, path, version}
Request lineThe HTTP request and virtual-host rows are recomputed from pinned bytes.Request line - Host net.example selects net-docssectionnamevaluecheckrequest linemethodGETparsedrequest linepath/booksparsedrequest lineversionHTTP/1.1parsedheaderHostnet.exampleexactheaderAccepttext/htmlexactvirtual hostHostnet.examplecompare rowsroutenet.examplenet-docsyes / yes / selectrouteshop.exampleshopno / no / skiproutedefaultfallbackyes / no / not reached

Method says the action

The method is GET, which names the requested action in this toy request.

method=GET\text{method}=\text{GET}
Request lineThe HTTP request and virtual-host rows are recomputed from pinned bytes.Request line - Host net.example selects net-docssectionnamevaluecheckrequest linemethodGETparsedrequest linepath/booksparsedrequest lineversionHTTP/1.1parsedheaderHostnet.exampleexactheaderAccepttext/htmlexactvirtual hostHostnet.examplecompare rowsroutenet.examplenet-docsyes / yes / selectrouteshop.exampleshopno / no / skiproutedefaultfallbackyes / no / not reached

Path says the resource

The path is /books. That path is separate from the site name.

path=/books\text{path}=\text{/books}
Request lineThe HTTP request and virtual-host rows are recomputed from pinned bytes.Request line - Host net.example selects net-docssectionnamevaluecheckrequest linemethodGETparsedrequest linepath/booksparsedrequest lineversionHTTP/1.1parsedheaderHostnet.exampleexactheaderAccepttext/htmlexactvirtual hostHostnet.examplecompare rowsroutenet.examplenet-docsyes / yes / selectrouteshop.exampleshopno / no / skiproutedefaultfallbackyes / no / not reached

Summary

The request line says what action and path the client wants before any header is considered.

request line parsed\text{request line parsed}
Request lineThe HTTP request and virtual-host rows are recomputed from pinned bytes.Request line - Host net.example selects net-docssectionnamevaluecheckrequest linemethodGETparsedrequest linepath/booksparsedrequest lineversionHTTP/1.1parsedheaderHostnet.exampleexactheaderAccepttext/htmlexactvirtual hostHostnet.examplecompare rowsroutenet.examplenet-docsyes / yes / selectrouteshop.exampleshopno / no / skiproutedefaultfallbackyes / no / not reached