generated from mwc/lab_riddles
completed notes.md for checkpoint 1 in riddles
This commit is contained in:
parent
094e040b21
commit
8206910718
22
notes.md
22
notes.md
|
@ -7,6 +7,28 @@ 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.
|
||||
|
||||
"Content-Length: 116" is probably the size of the response; not sure what the unit
|
||||
here would be...probably bytes since bits probably wouldn't fit all that text? This
|
||||
could be useful if the request and response knew how much information was moving
|
||||
in each direction maybe as a packet loss check?
|
||||
|
||||
"X-Content-Type-Options: nosniff" looks interesting; this could be a limit on type
|
||||
matching of some kind? Sniffing usually means looking for something so if an option
|
||||
is set to not sniff, it's probably forced to some default value. As for what "type",
|
||||
that I'm not sure.
|
||||
|
||||
"Date: Tue, 05 Mar 2024 00:25:26 GMT" is the time when the response was generated. I
|
||||
don't know what specific advantage this would provide, but coordination of systems
|
||||
or measurements of data transfer speed would be my guesses.
|
||||
|
||||
"Connection: keep-alive" sounds like it leaves the connection between the to points
|
||||
open after the response is passed back. My guess is this speeds up future connections
|
||||
because nothing else needs "establishing" from that point on.
|
||||
|
||||
"Content-Type: application/json" looks like it's reporting the filetype of the response.
|
||||
This could be useful in unpacking the response, since if I know what file type I'm
|
||||
receiving, I can have it automatically parsed and formatted.
|
||||
|
||||
## 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
|
||||
|
|
|
@ -159,7 +159,21 @@ h2 = ["h2 (>=4,<5)"]
|
|||
socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"]
|
||||
zstd = ["zstandard (>=0.18.0)"]
|
||||
|
||||
[[package]]
|
||||
name = "wheel"
|
||||
version = "0.43.0"
|
||||
description = "A built-package format for Python"
|
||||
optional = false
|
||||
python-versions = ">=3.8"
|
||||
files = [
|
||||
{file = "wheel-0.43.0-py3-none-any.whl", hash = "sha256:55c570405f142630c6b9f72fe09d9b67cf1477fcf543ae5b8dcb1f5b7377da81"},
|
||||
{file = "wheel-0.43.0.tar.gz", hash = "sha256:465ef92c69fa5c5da2d1cf8ac40559a8c940886afcef87dcf14b9470862f1d85"},
|
||||
]
|
||||
|
||||
[package.extras]
|
||||
test = ["pytest (>=6.0.0)", "setuptools (>=65)"]
|
||||
|
||||
[metadata]
|
||||
lock-version = "2.0"
|
||||
python-versions = "^3.10"
|
||||
content-hash = "2f1223dc33af6f607d099d2c766dc1d8ee77f935b3e05f7b742f85c68234a0e0"
|
||||
content-hash = "a742034754f900b8d9ce31644f59e7a92d8e556f87da1b4531d9f8203ac09eeb"
|
||||
|
|
|
@ -8,6 +8,7 @@ readme = "README.md"
|
|||
[tool.poetry.dependencies]
|
||||
python = "^3.10"
|
||||
requests = "^2.31.0"
|
||||
wheel = "^0.43.0"
|
||||
|
||||
|
||||
[build-system]
|
||||
|
|
Loading…
Reference in New Issue