Something went wrong. Try again.
Fetch, resize, reformat, and cache Atmosphere avatar images atp.pics
atproto
Something went wrong. Try again.
858 B
Markdown
ADDED Requirements #
Requirement: Log each HTTP request #
The system SHALL log one line per HTTP request to stdout containing the HTTP method, URL path, response status code, and elapsed time in milliseconds. The log line SHALL be emitted after the response is sent.
Scenario: Successful request logged #
- WHEN a request completes with a 302 response
- THEN the system SHALL emit a log line in the format
<METHOD> <path> <status> <ms>ms(e.g.,GET /alice.bsky.social 302 14ms)
Scenario: Error request logged #
- WHEN a request completes with a 404 or 502 response
- THEN the system SHALL emit a log line with the corresponding status code
Scenario: All requests logged regardless of outcome #
- WHEN any HTTP request is received, regardless of status code
- THEN the system SHALL emit a log line for that request