5 - The Web and Hypertext Transfer Protocol (HTTP)

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/10

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

11 Terms

1
New cards

What layer protocol is HTTP?

Application layer

2
New cards

Is HTTP a stateless protocol?

Yes

3
New cards

What does it mean for a protocol to be stateless?

No memory of what has occurred beforehand

4
New cards

List the steps of how a connection based protocol works

  • Client establishes a connection with server

  • Client sends request

  • Server sends response

  • Connection is closed

5
New cards

What are the two types of HTTP connections?

  • Non-persistent HTTP (1.0)

  • Persistent HTTP (1.1)

6
New cards

How does a non-persistent HTTP connection work?

  • Open TCP connection

  • At most one object sent over connection

  • Close TCP connection

  • Repeat steps 1-3 until all objectives

7
New cards

How does a persistent HTTP connection work?

  • Open TCP connection

  • Send multiple objects

  • Close TCP connection

8
New cards

What is a cookie?

a small piece of data that a website saves on your device when you visit it. It helps the website remember information about you and your preferences to make your experience smoother.

9
New cards

What are the four components of cookies

  • Web server -> browser

  • Browser -> web server

  • Browser

  • Web server

10
New cards

What is a web cache?

A temporary storage space that saves copies of websites or parts of websites (like images or scripts) on your device or a server

11
New cards

What are the benefits of web caches?

  • Reduces response time for client request; cache is closer to client

  • Reduces traffic on an institution's access link