Sie sind auf Seite 1von 5

CSE 461 LAB 2 REPORT

28 December 2013

Group 02:

L Quang Ha

Trng Hong Lnh

V Quang Tuyn

I.

The Basic HTTP GET/response interaction

1/ Both of them are running HTTP 1.1

2/ Accept-Language: vi,fr-FR;q=0.8,fr;q=0.6,en-US;q=0.4,en;q=0.2,en-GB;q=0.2

3/ My Computer IP address: 192.168.2.124 IP address of the server: 128.119.245.12

4/ Status code: HTTP/1.1 200 OK (text/html) 5/ Last-Modified: Sat, 28 Dec 2013 08:26:01 GMT

6/

Content-Length: 128

7/ No all of the headers can be found in the raw data

2. The HTTP CONDITIONAL GET/response interaction


8/ In the first GET there is no IF-MODIFIED-SINCE line in the HTTP GET

9/ Yes. The server explicitly return the contents of the file. Depend on the status code: 200 OK The content of the files:

10/ In the first GET there is a IF-MODIFIED-SINCE line in the HTTP GET. The information follows the IF-MODIFIED-SINCE is the last date that the files is modified in client hosts from the previous GET request.

11/ The status code: 304 Not Modified The server did not return the content of the files because the files on the client host is the same as the file located on the server.

3. Retrieving Long Documents


12/ There was 1 HTTP GET request message sent by my browser. Package number: 10

13/ The packet number in the trace contains the status code and phrase associated with the response to the HTTP GET request is 26. 14/ The phrase : OK & status code: 200. 15/ There were 4 data containing TCP segments containing 1460 ,1460 ,1460 and 423 bytes respectively for a total of 4803 bytes.

4. HTML Documents with Embedded Objects


16/ There are 3 GET requests.

The first destination GET IP :128.119.245.12 The second IP: 165.193.140.14 The third IP: 128.119.240.90 17/ By checking the TCP ports we can see that these files were downloaded serially over 2 TCP connection.

5 HTTP Authentication
18/ The server response status code : 507 Authorization required. 19/ The new field is included in the HTTP GET message is: Authorization as can be seen below

Das könnte Ihnen auch gefallen