开发者

Monitor outgoing request body using nsihttpchannel

开发者 https://www.devze.com 2023-02-12 12:56 出处:网络
I understand that nsIHttpChannel can be used to monitor and manipulate HTTP request/response headers.

I understand that nsIHttpChannel can be used to monitor and manipulate HTTP request/response headers.

However, I am unable to find a开发者_StackOverflow社区 way to read the request body (POSTed data). Any pointers are welcome.


Try querying the channel to an nsIUploadChannel and accessing its uploadStream.

0

精彩评论

暂无评论...
验证码 换一张
取 消