Frederik Vanderstraeten wrote:
Using an nsIContentPolicy I want to block a site request depending on
HTTP PST 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 PST data passed to
nsIWebNavigation::LoadURI.
Perhaps we should add this to the API
-Boris
dev-tech-xpcom mailing list
dev-tech-xpcom (AT) lists (DOT) mozilla.org