And the http protocol sits on top of the stack. Routing, dns, nat, etc all do not matter to http.
HTTP is basically “this is how you send a document over the wire”.