W3L1 - HTTP Flashcards

1
Q

HTTP

A

Hyper Text Transfer Protocol

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

What kind of protocol is HTTP?

A

Client-server
Used by clients to retrieve or invoke actions on resources
Text Based
Client sends request, server supplies response

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

HTTP Request Format?

A

Header (printable ascii with specific end of line sequence
- Request line - Method / protocol/ version -
GET/HTTP/1.1
- Fields describing request and request
Empty line
Optional body (binary data)

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

HTTP Response format?

A

Header (printable ascii with specific end of line sequence
- Response line - Protocol, version, status code -
HTTP/ 1.1 200 OK
- Fields describing the server content
Empty line
Optional body

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

Response codes HTTP?

A

1xx (Informational): Request received, continuing process
2xx (Successful): Request received, understood and accepted
3xx (Redirection): Firth action needs to be taken to complete request
4xx (Client Error): The request contains bad syntax or cannot be fulfilled
5xx (Server Error): The server failed to fulfil an apparently valid request

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