2015-03-28 22:07:40 +00:00
|
|
|
package transcoder
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/barnacs/compy/proxy"
|
2017-01-14 23:20:14 +00:00
|
|
|
"net/http"
|
2015-03-28 22:07:40 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type Identity struct{}
|
|
|
|
|
2017-01-14 23:20:14 +00:00
|
|
|
func (i *Identity) Transcode(w *proxy.ResponseWriter, r *proxy.ResponseReader, headers http.Header) error {
|
2015-03-29 14:09:48 +00:00
|
|
|
return w.ReadFrom(r)
|
2015-03-28 22:07:40 +00:00
|
|
|
}
|