> For the complete documentation index, see [llms.txt](https://mudassirs46.gitbook.io/network-fundamentals/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mudassirs46.gitbook.io/network-fundamentals/http-hyper-text-transfer-protocol.md).

# HTTP (Hyper Text Transfer Protocol)

TCP/IP [Application Layer's](https://app.gitbook.com/@mudassirs46/s/network-fundamentals/~/drafts/-MRZ4cjfS8UXyANv_uLC/application-layer) HTTP was built in the early 1990s by Tim Berners-Lee who gave HTTP the functionality to ask for the contents of a Web Page from a Web Server & also to provide Server a way to return the contents of those files.

* The default Web pages are stored in a file called home.htm in every Web Browser.
* When you hit any website from a Web Browser then PC automatically sends a 'Get' request in it's HTTP Header (encapsulated by Application Layer), asking a Web Browser for a Web & if no Filename is mentioned the Server assumes that the default Web Page of that website is being requested.
* In turn Server replies with a return code '200' in its HTTP Header meaning 'OK' & then another reply follows the actual Data but this time omitting the HTTP Header to avoid the wastage of Space.
* Return codes are used by the Web Server to tell the Web Page whether the request worked or not.

## Reference:

CCNA 200-301 OCG, Volume 1, Pg. 20 - Wendell Odom .
