addon/decoder.go
parent
6807cce67d
commit
7c0033654f
@ -0,0 +1,13 @@
|
||||
package addon
|
||||
|
||||
import "github.com/lqqyt2423/go-mitmproxy/flow"
|
||||
|
||||
// decode content-encoding then respond to client
|
||||
|
||||
type Decoder struct {
|
||||
Base
|
||||
}
|
||||
|
||||
func (d *Decoder) Response(f *flow.Flow) {
|
||||
f.Response.ReplaceToDecodedBody()
|
||||
}
|
Loading…
Reference in New Issue