compy/transcoder/identity.go
Barna Csorogi 9bf55d29a9 proxy header-only responses properly
fixes redirects
2015-03-29 16:12:15 +02:00

12 lines
201 B
Go

package transcoder
import (
"github.com/barnacs/compy/proxy"
)
type Identity struct{}
func (i *Identity) Transcode(w *proxy.ResponseWriter, r *proxy.ResponseReader) error {
return w.ReadFrom(r)
}