· Web view1999/01/23 · Second Semester 1437/1438 H Assignment 5 NET431D-Advanced...

2
Princess Nora Bint Abdulrahman University Faculty of Computer and Information Sciences NET431D-Advanced network services Second Semester 1437/1438 H Assignment 5 Q1: Show a request that retrieves the document /usr/users/doc/doc1. Use : at least any two general headers, any two request headers, And any one entity header. Q2: Show the response to Question #1, for a successful request with four lines of header. The header lines define the date, server, MIME version, and length of the document for document with 4623 lines. Q3: Show the response to Question #1 for a document that has permanently moved to /usr/deads/doc1. With three lines of header defines the date, server name and location. Q4: Show the response to Question #1 if there is a syntax error in the request. With two headers for server and date. Q5: Show the response to Question#1 if the client is unauthorized to access the document with two headers lines for the server and the date of access. Q6: Show a request that asks for information about a document at /bin/users/file. Use at least: two general headers. and one request header. Q7: Show a request to retrieve the file at location /bin/etc/file!. The client needs the document of any type of medium only if it was modified after January 23, 1999. Use four line of headers. With date and MIME-version. 1

Transcript of · Web view1999/01/23 · Second Semester 1437/1438 H Assignment 5 NET431D-Advanced...

NET431D-Advanced network services

Second Semester 1437/1438 H

Assignment 5

Princess Nora Bint Abdulrahman University

Faculty of Computer and Information Sciences

Department of Networks and Telecommunications

Q1: Show a request that retrieves the document /usr/users/doc/doc1. Use :

at least any two general headers,

any two request headers,

And any one entity header.

Q2: Show the response to Question #1, for a successful request with four lines of header. The header lines define the date, server, MIME version, and length of the document for document with 4623 lines.

Q3: Show the response to Question #1 for a document that has permanently moved to /usr/deads/doc1. With three lines of header defines the date, server name and location.

Q4: Show the response to Question #1 if there is a syntax error in the request. With two headers for server and date.

Q5: Show the response to Question#1 if the client is unauthorized to access the document with two headers lines for the server and the date of access.

Q6: Show a request that asks for information about a document at /bin/users/file.

Use at least:

two general headers.

and one request header.

Q7: Show a request to retrieve the file at location /bin/etc/file!. The client needs the document of any type of medium only if it was modified after January 23, 1999. Use four line of headers. With date and MIME-version.

Q8: Show a request to send and store a file at location /bin/letter. The client Should identifies the types of documents it can accept (text/html), (gif), (jpeg). There will be six lines of header with (date, MIME-version).

Q9: Show the response to Question#9. The response shows the age of the document as well as the date and time when the contents may change.

Q10: Compare between Persistent vs non-persistent HTTP connections?

1