Hypertext transfer protocol

Published on December 2016 | Categories: Documents | Downloads: 31 | Comments: 0 | Views: 294
of 14
Download PDF   Embed   Report

Comments

Content

SITI AMELIA BINTI AHMAD 51262111365 NADIAH BINTI ROSTAM 51262111376

€ Stands

for Hyper Text Transfer Protocol € defines how messages are formatted and transmitted, and what actions Web servers and browsers should take in response to various commands. € Language of the web: - Protocol used for communication between web server and web browser € TCP port 80 € Used to access data on www

€ http

has 7 characteristics: 1- application level 2-request/respond 3-stateless 4-bi-directional transfer 5-capability negotiation 6-support for caching 7-support for intermediaries

€ Uniform

Resource Locator -protocol (http,ftp) -port (usually 80) -directory path to the resource

GET

Web browser

HTTP Transaction
RESPONSE

Web server

€ The

request message consists of the following: € Request line, such as GET /images/logo.png HTTP/1.1, which requests a resource called /images/logo.png from server € Headers, such as Accept-Language: en € An empty line € An optional message body

9 methods indicating the desired action to be performed on the identified resource such as: HEAD, GET, POST, PUT, DELETE, TRACE, OPTIONS, CONNECT, PATCH.

€Define

GET HEAD

Retrieves the resource. Retrieves the header information of a resource. Creates a new resource. Updates a resource. Deletes a resource. Queries a resource to find out what HTTP operations can be performed on the resource.

POST PUT DELETE OPTIONS

€ Browser

send a HTTP GET command to request web page form a server. € Request consist of: 1- single line text begin with keyword GET 2- URL 3- HTTP version no.

€ Status

codes are used in response message. € It·s a 3 digit no. Some common status codes are: € 200 - the server successfully returned the page € 404 - the requested page doesn't exist € 503 - the server is temporarily unavailable

€ Used

to transfer information from web servers to web browsers. of the most widely used protocol for transferring information on the internet

€ One

€ protocol

for exchanging files over the Internet. FTP works in the same way as HTTP for transferring Web pages from a server to a user's browser. € protocol used to upload files from a workstation to a FTP server or download files from a FTP server to a workstation.

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close