mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-11 11:57:12 +02:00
ServeUserAvatar lives in server/imghttp so both server/subsonic and server/jellyfin can call it without importing each other. It delegates ETag/If-None-Match handling and Content-Type detection to http.ServeContent instead of hand-parsing the header, avoiding a false-304 on multi-valued or wildcard If-None-Match headers. |
||
|---|---|---|
| .. | ||
| avatar.go | ||
| avatar_test.go | ||
| headers.go | ||
| headers_test.go | ||
| imghttp_suite_test.go | ||