import (
"fmt"
"net/http"
+
+ "go.stargrave.org/godlighty"
)
func Redirect(
) {
http.Redirect(w, r, to, status)
fmt.Printf("%s %s \"%s %+q %s\" %d \"%s\"\n",
- r.RemoteAddr, host, r.Method, r.URL.Path, r.Proto,
+ r.RemoteAddr, host, r.Method, godlighty.PathWithQuery(r.URL), r.Proto,
status, r.Header.Get("User-Agent"),
)
}