Skip to content

Commit 94e6d99

Browse files
bump verion 0.6.0
1 parent fab3862 commit 94e6d99

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ $ bundle
3434

3535
## Example
3636

37+
You can found more examples in `test/plugin/test_in_http_pull.rb`
38+
3739
### Monitoring http status code only
3840
```
3941
<source>
@@ -133,7 +135,17 @@ for more detail.
133135

134136
### status_only (bool) (optional, default: false)
135137

136-
If status_only is true, body is not parsed.
138+
If `status_only` is true, body is not parsed.
139+
140+
### http_method (enum) (optional, default: :get)
141+
142+
The http request method for each requests. Avaliable options are listed below.
143+
144+
* `get`
145+
* `post`
146+
* `delete`
147+
148+
If `status_only` is true, `http_method` was override to `head`
137149

138150
### timeout (time) (optional, default: 10s)
139151

@@ -151,6 +163,14 @@ The user for basic auth
151163

152164
The password for basic auth
153165

166+
### response_header (section) (optional, default: nil)
167+
168+
The name of response header for capture.
169+
170+
### request_header (section) (optional, default: nil)
171+
172+
The name, value pair of custom reuqest header.
173+
154174
## In case of remote error
155175

156176
### Can receive response from remote

fluent-plugin-http-pull.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
33

44
Gem::Specification.new do |spec|
55
spec.name = "fluent-plugin-http-pull"
6-
spec.version = "0.5.0"
6+
spec.version = "0.6.0"
77
spec.authors = ["filepang"]
88
spec.email = ["[email protected]"]
99

0 commit comments

Comments
 (0)