From 79369ca8efec88b980d8cde6c706f95e11a21b9b Mon Sep 17 00:00:00 2001 From: xavren Date: Tue, 7 Jun 2016 12:37:46 -0400 Subject: [PATCH] Copy header Link for canonical image SEO fix format --- imageproxy.go | 1 + 1 file changed, 1 insertion(+) diff --git a/imageproxy.go b/imageproxy.go index d050283..c8682e9 100644 --- a/imageproxy.go +++ b/imageproxy.go @@ -131,6 +131,7 @@ func (p *Proxy) ServeHTTP(w http.ResponseWriter, r *http.Request) { copyHeader(w, resp, "Last-Modified") copyHeader(w, resp, "Expires") copyHeader(w, resp, "Etag") + copyHeader(w, resp, "Link") if is304 := check304(r, resp); is304 { w.WriteHeader(http.StatusNotModified)