Http_1 Flashcards

1
Q

Uniform Resource Locator URL

A

Address of resource on the internet

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

URL Scheme

A

http - how to access a resource (other https, ftp, mailto)

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

Host

A

staples.com what is hosting the resource (could use IP address)

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

Url Path

A

Specific resource

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

Http default port

A

80

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

Network Port definition

A

An endpoint of communication in an operating system; specific services listen to prots

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

Network socket definition

A

An internal endpoint for sending or receiving data at a single node in a computer network

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

Url fragment

A

Information followed by a # used on client side to navigate to a specific section of a resources (Angular route)

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

Mime standards

A

Content type - label the content of an internet request – how a client interprets the http response

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

Http/1.1

A

Defines the language used to communicate html requests and responses

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

Http request

A

What the client sends

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

Http response

A

Response from server

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

Http transactions

A

1 request and response

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

URL Canonicalization

A

Convert all requests to same scheme ie all requests go to www.

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

Http Methods

A

Get; Post (Put, Delete, Head, Paste)

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

Safe Http method

A

Get – refresh as many times as you want

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

Postback

A

Data on the page is posted from the client to the server (posted to the same page the user is viewing

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

Callback

A

Special type of postback - a quick roundtrip to the server to get a small amount of data - calling the server and receiving some data back

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

PRG

A

Post / Redirect/ Get

20
Q

Request Message syntax

A

Method URL Version Headers Body

21
Q

Request Headers

A

Help with content negotiation Host header required Any header included must be honered

22
Q

Common Request headers

A

Referer, User-Agent, Cookie, Accept

23
Q

Response Message syntax

A

version status reason headers body

24
Q

Status code 100

A

Informational

25
Status code 200
Successful
26
Status code 300
Redirect
27
Status code 400
Client error
28
Status code 500
Server errors
29
TCP
Transmition control protocol (Transport layer)(reliable)
30
IP
Internet Protocol(Network layer)(creates packets)
31
Data Link Layer
Resposible for carrying 0 and 1's from one location to another
32
Parallel connections
Allow the client to download data on mulitiple connections
33
Persistant connection
Socket remains open
34
Proxy Server
Sits between the client and the server; access control device; inspect messages; log messages; load balancing
35
Stateless
Each request is independent of another request
36
_viewState
Used to manage state on asp .net web forms; passed in http messages
37
Cookies
Used to track and identify users; not used for authentication; assign a unique id
38
Where are cookies set
in the header; SET-COOKIE - browser specific
39
Session Cookies
Good for 1 session
40
Persistant cookies
Persisit -- must have an expiration value
41
Basic Authentication
Not considered secure rarely used other then with https; url encoded
42
Digest Authentication
A step up from basic authentication, request is encrypted --rarely used
43
Windows authentication
Commonly used for intranet; cs.staples.com uses windows
44
Forms Authentication
Most popular, not standard. A form accepts pw and login; only secure with https
45
HTTPS
Same as SSL; Encrypts messages; default port 443;
46
How does https work?
Adds SSL/TLS layer; encrypts; server must have a certificate; browser validates that it is communicating with correct server; all traffic is encrypted; client is not authenticated via https
47
HTTPS downsides
Computationally expensive; can't cache in public cache; expensive to set up and maintain