/*
-tofuproxy -- HTTP proxy with TLS certificates management
+tofuproxy -- flexible HTTP/WARC proxy with TLS certificates management
Copyright (C) 2021 Sergey Matveev <stargrave@stargrave.org>
This program is free software: you can redistribute it and/or modify
fallthrough
case "font/otf", "font/ttf", "font/woff", "font/woff2":
http.NotFound(w, req)
- fifos.SinkOther <- fmt.Sprintf(
- "%s %s\t%d\tdeny fonts",
- req.Method,
- req.URL.String(),
- http.StatusNotFound,
- )
+ fifos.LogVarious <- fmt.Sprintf("%s %s\tdeny fonts", req.Method, req.URL)
resp.Body.Close()
return false, nil
}