go-dojo
learn go · earn mastery
phase 2 · 2.1-http-protocol

HTTP as a protocol (what curl actually sees)

prereqs 0.5-first-http-hit1.2-types-structs
review intervals 3d 7d 21d 60d drills http-status-match

The lesson for this task hasn't been written yet. The mastery criteria below is the shortest description of what you'll own when this task is green.

Mastery criteria

- Read and write a raw HTTP/1.1 request + response by hand (no curl)
- Use curl -v to see request-line, headers, body, and status clearly
- Explain: what is a status code, what are headers, what's a content-type, what does Connection: close mean
- Speak TCP at the right level: HTTP runs over it; ports are TCP's addressing

Verify

Run from your go-dojo repo root:

go-dojo verify 2.1-http-protocol

This runs the task's go test suite in exercises/phase-2/2.1-http-protocol/, commits the attempt to .go-dojo/attempts/, and updates your mastery.