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
.
精彩评论