Re: Can we get http header information from the BHO



lav <lav7val@xxxxxxxxx> wrote:
I have a BHO from which I can get the POST data, from the
BeforeNavigate2 event. But I would like to know if I can get the HTTP
header, particularly just to know if it is a GET request.

If POST data in BeforeNavigate2 is empty, it's a GET request, otherwise
it's a POST request.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.



Relevant Pages

  • Re: FORM data in cgi
    ... to send pre-encoded POST data; you'll have to check that yourself. ... you'll have to do the HTTP request processing by yourself. ... As you describe it, since the data stream in the request body will be exactly the same in both cases (though the HTTP request line and headers will differ) is possible to handle the request by having the CGI script a direct connection to the intended destination server, parsing the incoming headers, generating the outgoing ones, and then just relaying the request body. ...
    (comp.lang.python)
  • Re: HTTP POST from PHP using a link
    ... ..oO(Manuel Lemos) ... I tried the Class and it looks to be able to send POST data to a page ... I think you can submit a GET request using that class to an URL without ... There are also buffer limits in the web servers. ...
    (comp.lang.php)
  • Re: [PHP] displaying image from MySQL DB using HTML/PHP
    ... On Tue, March 13, 2007 9:07 pm, Jim Lucas wrote: ... I'm just suggesting that not using REQUEST is not an absolute. ... But if you have a web app that works equally well for other pages to ... link to, or to send POST data to, using REQUEST is quite nice, imho. ...
    (php.general)
  • POST from a CGI
    ... I'm receiving POST data to a CGI, which I'd like to forward to another ... CGI using urllib2. ... getting 400 errors when I try it (server thinks request is malformed). ... I've checked the headers and the body data and they seem normal and I ...
    (comp.lang.python)
  • http request using fsockopen
    ... On the start of page B I check var $foo. ... Sending the POST data also though the POST method. ... I manually create a HTTP request to page C and use the fsockopen method to ...
    (php.general)