Enterprise Application
- Large Data
- Multiple Functionalities
- Client-Server
- Multi-threading
- Highly Available
- Scalable
When typing in www.google.com...
- Browser first opens a connection
- It then sends an http request to a Web Server
- Web server sends http response
- DNS converts the Domain Name to the IP Address of the website
HTTP Request (generated by Browser)
edit- Starts with HTTP Version
- URL
- GET and POST (either receive some information from the client, or send/submit some information from the client to the server)
e.g.
HTTP1.1 url/get HTTP Request Headers (Firefox/Chrome/etc), e.g. hostname, version, etc Request data [optional]
HTTP Response (generated by Server)
edite.g.
HTTP Response HTTP1.1/200 Response header text/img/gif... body (very likely to have an HTML page)
HTTP Error Codes
edit- See also List of HTTP status codes
- 2xx: SUCCESS
- 4xx: ERROR
- 5xx: SERVER ERROR