HTTP Flashcards

1
Q

______ is the main application layer communication protocol of the world wide web

A

HTTP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

A web page is made up of many objects including…

A

images, text, audio, video clips, animations, applets, and other components

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

An HTML file includes a _________ for each of the objects on the page

A

reference

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is an agent?

A

A browser

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Agents use ______ to communicate across the internet

A

HTTP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

To get the objects on an HTML page, the client must request the objects from the ______

A

servers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

HTTP is used to send ______ from a browser to a web server

A

requests

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the steps to access an object?

A
  1. Locate web server
  2. TCP connection is made
  3. Client sends a HTTP request for the object to the server (or a series of requests)
  4. Server processes request and sends a reply
  5. Client adds object to page and requests next object
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

In the original version of HTTP, a new ___ ________ would be made for every single object

A

TCP connection

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Describe a non-persistent connection using SYN, ACK, and FINS

A

-A sends SYN (TCP req)
-B sends SYN ACK (Accept TCP)
- A sends ACK and HTTP GET
- B sends object
To close connection
- B sends FIN
- A sends SYN ACK
- B sends ACK

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the round trip travel time?

A

The time it takes to propagate from A to B to A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Each non-persistent connection takes _ RTTT to make and break the connection

A

3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

The default in HTTP1.1 is a ________ connections

A

persistent

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Persistent connections close after a ________ time with no activity

A

reasonable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

In a persistent connection, A must also send an ___ when it receives an object

A

ACK

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is pipelining?

A

Requesting an object as soon as the agent knows they are needed.

17
Q

How does the server behave when there are pipelined requests?

A

The requests are queued and replied to sequentially

18
Q

A GET request…

A

gets an object

19
Q

A POST request…

A

sends user input information

20
Q

A HEAD request…

A

is like a GET, but with no object in the response

21
Q

What is the format of a request message?

A
  1. Request line
  2. Header section
  3. Blank line
  4. Entity Body
22
Q

The request line indicates the…

A

method, URL, and HTTP version of the request

23
Q

The _______ section includes details of the request such as field name and value of that field

A

header

24
Q

The entity body contains the returned _____

A

object

25
Q

GET requests have a blank ______ ____ because it does not return any object

A

entity body

26
Q

The 200 status code signifies ___

A

OK

27
Q

The ___ status code signifies Moved Permanently

A

301

28
Q

The 400 status code signifies ___ _______

A

bad request

29
Q

The ___ status code signifies Not Found

A

404

30
Q

The 505 status code signifies …

A

HTTP version not supported