submit_http (Freedb)

    # File lib/freedb.rb, line 239
      def submit_http(from = "user@localhost", server = "freedb.org", port = 80, path = "/~cddb/submit.cgi", submit_mode = "submit")
        require "net/http"
        headers = {
          "Category" => @category,
          "Discid" => @discid,
          "User-Email" => from,
          "Submit-Mode" => submit_mode,
          "Charset" => "ISO-8859-1",
          "X-Cddbd-Note" => "Sent by ruby-freedb #{VERSION}"
        }
        Net::HTTP.start(server, port) { |http|
          reply, body = http.post(path, submit_body(), headers)
          if reply.code != 200
            raise(FreedbError, "Bad response from server: '#{body.chop}'")
          end
        }
        nil
      end