@@ -10,8 +10,8 module Net | |||||
10 | def self.post_form(url, params, headers, options={}) |
|
10 | def self.post_form(url, params, headers, options={}) | |
11 | request = Post.new(url.path) |
|
11 | request = Post.new(url.path) | |
12 | request.form_data = params |
|
12 | request.form_data = params | |
13 | request.basic_auth url.user, url.password if url.user |
|
|||
14 | request.initialize_http_header(headers) |
|
13 | request.initialize_http_header(headers) | |
|
14 | request.basic_auth url.user, url.password if url.user | |||
15 | http = new(url.host, url.port) |
|
15 | http = new(url.host, url.port) | |
16 | http.use_ssl = (url.scheme == 'https') |
|
16 | http.use_ssl = (url.scheme == 'https') | |
17 | if options[:no_check_certificate] |
|
17 | if options[:no_check_certificate] | |
@@ -23,7 +23,7 module Net | |||||
23 | end |
|
23 | end | |
24 |
|
24 | |||
25 | class RedmineMailHandler |
|
25 | class RedmineMailHandler | |
26 | VERSION = '0.2' |
|
26 | VERSION = '0.2.1' | |
27 |
|
27 | |||
28 | attr_accessor :verbose, :issue_attributes, :allow_override, :unknown_user, :no_permission_check, :url, :key, :no_check_certificate |
|
28 | attr_accessor :verbose, :issue_attributes, :allow_override, :unknown_user, :no_permission_check, :url, :key, :no_check_certificate | |
29 |
|
29 |
General Comments 0
You need to be logged in to leave comments.
Login now