Defect #13165 ยป rdm-mailhanlder.rb.patch
| mail_handler/rdm-mailhandler.rb 2013-02-13 22:56:15.448056001 +0100 | ||
|---|---|---|
|
def self.post_form(url, params, headers, options={})
|
||
|
request = Post.new(url.path)
|
||
|
request.form_data = params
|
||
|
request.basic_auth url.user, url.password if url.user
|
||
|
request.initialize_http_header(headers)
|
||
|
request.basic_auth url.user, url.password if url.user
|
||
|
http = new(url.host, url.port)
|
||
|
http.use_ssl = (url.scheme == 'https')
|
||
|
if options[:no_check_certificate]
|
||