Lecture 7
Lecture 7
Request
We have two type of requests.
1: Simple Request
2: Full Request
GET/POST
http://192.168.10.1:80/index.html
HTTP Transaction
HTTP Response
HTTP status codes
In response to HTTP requests, servers often issue response codes, indicating the
request is being processed, there was an error in the request or that the request is
being redirected. Common response codes include:
200 OK. This means that the request, such as GET or POST, worked and is being
acted upon.
300 Moved Permanently. This response code means that the URL of the
requested resource has been changed permanently.
401 Unauthorized. The client, or user making the request of the server, has not
been authenticated.
403 Forbidden. The client's identity is known but has not been given access
authorization.
404 Not Found. This is the most frequent error code. It means that the URL is
not recognized or the resource at the location does not exist.
500 Internal Server Error. The server has encountered a situation it doesn't
know how to handle.
HTTP Header
Types of connections
Types of connections