def call_akismet(akismet_function, options = {})
      http_post(
        Net::HTTP.new([self.options[:api_key], self.class.host].join('.'), options[:proxy_host], options[:proxy_port]),
        akismet_function,
        options.update(:blog => self.options[:blog]).to_query
      )
    end
def call_akismet(akismet_function, options = {})
      http_post(
        Net::HTTP.new([self.options[:api_key], self.class.host].join('.'), options[:proxy_host], options[:proxy_port]),
        akismet_function,
        options.update(:blog => self.options[:blog]).to_query
      )
    end
Internal call to Akismet. Prepares the data for posting to the Akismet
 service.

 ==== Arguments
 +akismet_function+ <String>::
   the Akismet function that should be called

 The following keys are available to configure a given call to Akismet:

 +user_ip+ (*required*)::
   IP address of the comment submitter.
 +user_agent+ (*required*)::
   user agent information.
 +referrer+ (<i>note spelling</i>)::
   the content of the HTTP_REFERER header should be sent here.
 +permalink+::
   the permanent location of the entry the comment was submitted to.
 +comment_type+::
   may be blank, comment, trackback, pingback, or a made up value like
   "registration".
 +comment_author+::
   submitted name with the comment
 +comment_author_email+::
   submitted email address
 +comment_author_url+::
   commenter URL
 +comment_content+::
   the content that was submitted
 Other server enviroment variables::
   In PHP there is an array of enviroment variables called <tt>_SERVER</tt>
   which contains information about the web server itself as well as a
   key/value for every HTTP header sent with the request. This data is
   highly useful to Akismet as how the submited content interacts with
   the server can be very telling, so please include as much information
   as possible.