generated from mwc/lab_riddles
27 lines
1.1 KiB
Markdown
27 lines
1.1 KiB
Markdown
# Request and response notes
|
|
|
|
## Checkpoint 1
|
|
Read the request and response shown on lines 1-32 of the lab. Choose
|
|
five lines from the request and/or the response. For each, make an inference
|
|
about the meaning of the line, and some situation in which it might be useful.
|
|
You are welcome to research the meanings of these headers, but it's also
|
|
fine to speculate for now.
|
|
|
|
Line 1: THat is just pointing to the URL of the server
|
|
|
|
Line 2: A GET request is establishing contact from your computer to the server via teh HTTP protocol.
|
|
|
|
Line 6: This is telling us the host name of the server, im not sure how it differs from the first line
|
|
|
|
Line 13: This is useful to know how much data is in the request, but is that content or something else?
|
|
|
|
Lne 23: Thats the beginning of the content in a dictionary or tuple I think.
|
|
|
|
## Checkpoint 2
|
|
The goal of this checkpoint is to see what status codes you can get back from
|
|
the riddle server. Paste below several `http` requests and the status codes
|
|
they return.
|
|
|
|
200 returns when youre connected to the server
|
|
|
|
400 returns when you miss something in the post |