/*
-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
resp.StatusCode, http.StatusText(resp.StatusCode),
redirType, location, location,
)))
- fifos.SinkRedir <- fmt.Sprintf(
- "%s %s\t%s\t%s", req.Method, resp.Status, req.URL.String(), location,
+ fifos.LogRedir <- fmt.Sprintf(
+ "%s %s\t%s\t%s", req.Method, req.URL, resp.Status, location,
)
return false, nil
}