# 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 .


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mudassirs46.gitbook.io/network-fundamentals/http-hyper-text-transfer-protocol.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
