(r *http.Request)
| 24 | ) |
| 25 | |
| 26 | func clientSupportGZIP(r *http.Request) bool { |
| 27 | // Should be good enough |
| 28 | return strings.Contains(r.Header.Get("Accept-Encoding"), "gzip") |
| 29 | } |
| 30 | |
| 31 | func clientContentEtagIsValid(r *http.Request, eTag string) bool { |
| 32 | d := r.Header.Get("If-None-Match") |
no test coverage detected