RelativeResourceManager44444

RelativeResourceManager44444 - CprE 530 Lecture 20 Topics...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
CprE 530 Lecture 20 Topics WWW HTTP: Hyper Text Transfer Protocol – Requests – Responses – Headers
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
World Wide Web World Wide Web Link to anothe URL (Document Location) Link to another Document URL World Wide Web
Background image of page 2
Web Client/Server HTTP Hypertext Transfer Protocol Simple command/response protocol ASCII based commands Typically a new connection for each command/response exchange Server runs on port 80 default
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
HTTP Requests Three parts: – Request line – Headers – Blank line – Body (optional – Body (optional) Request line looks like this: Request type <sp> URL <sp> HTTP version Example: GET http://www.ibm.com HTTP/1.1 More on request types later
Background image of page 4
URL Uniform Resource Locator A URL follows this format: method://host:port/path The host can be a machine name or IP • The host can be a machine name or IP address The port must be specified if the server is running on a port other than 80. The path is the directory where data is stored Request Types GET HEAD POST PUT PATCH Many of these types can pose security problems, since they involve modifying or deleting data. COPY MOVE DELETE LINK UNLINK OPTION Most servers only implement the first three types: GET, HEAD, POST
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Request Types Type Action GET Retrieve a document specified by the URL. HEAD Retrieve the headers from the document specified by the URL. (Response does not contain the body.) POST Provide data to the server. PUT Provide new or replacement document specified by the URL. (Disabled) PATCH Provide differences to document specified by the URL in order to Provide differences to document specified by the URL in order to change the document. (Disabled) COPY Copy the document specified by the URL to the file specified in the header. (Disabled) MOVE Move the document specified by the URL to the file specified in the header. (Disabled) DELETE Delete the document specified by the URL. (Disabled)
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 20

RelativeResourceManager44444 - CprE 530 Lecture 20 Topics...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online