Anhanguera
Anhanguera
I have the same problem
第一种方式里,如何获得mgateway
我尝试了用onResponse,但是发不出去啊
`override fun onResponseInject(response: HttpResponse, body: HttpBody, callback: InjectorCallback) ` 我是直接解析这个body的,但是好像netbare获取的数据不完整,body的结尾不是chuncked编码格式的,结尾不是0和\r\n\r\n
 在这里我可以打印出所有的包,但是到这里之后就只有一个chuncked,  分离head和body用\r\n\r\n,好像会把最后一个chunked的结束标志给弄没了
gzip chunked能注入吗?没办法单独解压一个包啊,还是等接收到所有包后再发?
非常感谢,我现在是接收到所有包合并后解压gzip,但是不知道要怎么把数据再返回给客户端。我看了httpcanary的处理gzip,chunked的方法好像是收到所有包后直接返回一个包含全部数据的包。 如果修改请求头的话,那我修改了返回数据,直接返回明文数据给客户端吗?
maybe the netbare used in Httpcanary is a closed source branch of netbare?