Frederik Vanderstraeten wrote:
Using an nsIContentPolicy I want to block a site request depending on
HTTP POST data.
What's the easiest way to do it?
There isn't one at all. For common cases (e.g. HTML form posts) you can examine
aContext, maybe, but there's no way to detect POST data passed to
nsIWebNavigation::LoadURI.
Perhaps we should add this to the API...
-Boris
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom