mirror of
https://github.com/therootcompany/golib.git
synced 2026-11-04 15:05:00 +00:00
Conditional GET cache for periodic data sources. Persists ETag and Last-Modified to a .meta sidecar so 304s survive process restarts. Two independent rate-limit gates (MaxAge file-mtime, MinInterval in-memory). Body cap via MaxBytes defends against fill-disk from a hostile upstream or redirect target. Authorization (and any caller-supplied) headers stripped on every redirect hop. Userinfo in URL is redacted from error messages.
3 lines
155 B
Plaintext
3 lines
155 B
Plaintext
golang.org/x/sync v0.20.0 h1:e0PTpb7pjO8GAtTs2dQ6jYa5BWYlMuX047Dco/pItO4=
|
|
golang.org/x/sync v0.20.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0=
|