func WriteHandler(next http.Handler) http.HandlerFunc {
	return func(w http.ResponseWriter, r *http.Request) {
		cr, err := NewResponseWriter(w, r, -1)
		if err != nil {
			next.ServeHTTP(w, r)
			return
		}
		defer cr.Close()
		r.Header.Del(AcceptEncodingHeaderKey)
		next.ServeHTTP(cr, r)
	}
}
WriteHandler is the write using compression middleware.
package compress
import "net/http"
func Handler(next http.Handler) http.HandlerFunc {
	return WriteHandler(ReadHandler(next))
}