rdm-mailhanlder.rb.patch

Jean-Louis Fuchs, 2013-02-13 23:17

Download (588 Bytes)

View differences:

mail_handler/rdm-mailhandler.rb 2013-02-13 22:56:15.448056001 +0100
10 10
    def self.post_form(url, params, headers, options={})
11 11
      request = Post.new(url.path)
12 12
      request.form_data = params
13
      request.basic_auth url.user, url.password if url.user
14 13
      request.initialize_http_header(headers)
14
      request.basic_auth url.user, url.password if url.user
15 15
      http = new(url.host, url.port)
16 16
      http.use_ssl = (url.scheme == 'https')
17 17
      if options[:no_check_certificate]