From 3752affedfa94332a2d52b5e227cfdec787fbece Mon Sep 17 00:00:00 2001 From: Tim Raymond Date: Fri, 27 Jan 2017 19:27:59 -0500 Subject: [PATCH] Remove extraneous lines One of these was from experimental work during working on this feature. The other is just... well, extra. --- server/url_prefixer.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/url_prefixer.go b/server/url_prefixer.go index c7e8a41cc..1496071a6 100644 --- a/server/url_prefixer.go +++ b/server/url_prefixer.go @@ -55,12 +55,10 @@ const CHUNK_SIZE int = 512 // stream through the ResponseWriter, and appending the Prefix after any of the // Attrs detected in the stream. func (up *URLPrefixer) ServeHTTP(rw http.ResponseWriter, r *http.Request) { - // chunked transfer because we're modifying the response on the fly, so we // won't know the final content-length rw.Header().Set("Connection", "Keep-Alive") rw.Header().Set("Transfer-Encoding", "chunked") - //rw.Header().Set("X-Content-Type-Options", "nosniff") writtenCount := 0 // number of bytes written to rw