You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package addon
|
|
|
|
import "github.com/lqqyt2423/go-mitmproxy/proxy"
|
|
|
|
// decode content-encoding then respond to client
|
|
|
|
type Decoder struct {
|
|
proxy.BaseAddon
|
|
}
|
|
|
|
func (d *Decoder) Response(f *proxy.Flow) {
|
|
f.Response.ReplaceToDecodedBody()
|
|
}
|