puppet 6.13.0 → 6.14.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of puppet might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CONTRIBUTING.md +7 -13
- data/Gemfile.lock +6 -6
- data/README.md +15 -22
- data/lib/puppet.rb +1 -1
- data/lib/puppet/application/agent.rb +9 -11
- data/lib/puppet/application/describe.rb +7 -5
- data/lib/puppet/application/device.rb +2 -2
- data/lib/puppet/application/filebucket.rb +14 -1
- data/lib/puppet/application/ssl.rb +1 -1
- data/lib/puppet/configurer.rb +30 -41
- data/lib/puppet/configurer/plugin_handler.rb +10 -1
- data/lib/puppet/defaults.rb +7 -1
- data/lib/puppet/face/plugin.rb +1 -1
- data/lib/puppet/functions/eyaml_lookup_key.rb +13 -8
- data/lib/puppet/http.rb +1 -0
- data/lib/puppet/http/client.rb +69 -34
- data/lib/puppet/http/resolver/server_list.rb +2 -2
- data/lib/puppet/http/resolver/settings.rb +1 -1
- data/lib/puppet/http/resolver/srv.rb +1 -1
- data/lib/puppet/http/response.rb +6 -1
- data/lib/puppet/http/service.rb +30 -11
- data/lib/puppet/http/service/ca.rb +8 -8
- data/lib/puppet/http/service/compiler.rb +41 -10
- data/lib/puppet/http/service/file_server.rb +40 -20
- data/lib/puppet/http/service/report.rb +12 -15
- data/lib/puppet/http/session.rb +39 -1
- data/lib/puppet/indirector/catalog/rest.rb +33 -0
- data/lib/puppet/indirector/facts/rest.rb +41 -0
- data/lib/puppet/indirector/file_content/rest.rb +30 -0
- data/lib/puppet/indirector/file_metadata/rest.rb +50 -0
- data/lib/puppet/indirector/node/rest.rb +23 -0
- data/lib/puppet/indirector/report/rest.rb +19 -0
- data/lib/puppet/indirector/rest.rb +6 -0
- data/lib/puppet/indirector/status/rest.rb +17 -0
- data/lib/puppet/loaders.rb +6 -0
- data/lib/puppet/network/http/base_pool.rb +1 -1
- data/lib/puppet/network/http/pool.rb +6 -1
- data/lib/puppet/provider/group/groupadd.rb +9 -4
- data/lib/puppet/runtime.rb +8 -1
- data/lib/puppet/settings.rb +2 -0
- data/lib/puppet/settings/http_extra_headers_setting.rb +25 -0
- data/lib/puppet/ssl/state_machine.rb +4 -0
- data/lib/puppet/test/test_helper.rb +3 -1
- data/lib/puppet/type/file.rb +13 -0
- data/lib/puppet/type/file/source.rb +47 -58
- data/lib/puppet/version.rb +1 -1
- data/locales/puppet.pot +167 -160
- data/man/man5/puppet.conf.5 +11 -3
- data/man/man8/puppet-agent.8 +6 -6
- data/man/man8/puppet-apply.8 +1 -1
- data/man/man8/puppet-catalog.8 +1 -1
- data/man/man8/puppet-config.8 +1 -1
- data/man/man8/puppet-describe.8 +1 -1
- data/man/man8/puppet-device.8 +2 -2
- data/man/man8/puppet-doc.8 +1 -1
- data/man/man8/puppet-epp.8 +1 -1
- data/man/man8/puppet-facts.8 +1 -1
- data/man/man8/puppet-filebucket.8 +17 -2
- data/man/man8/puppet-generate.8 +1 -1
- data/man/man8/puppet-help.8 +1 -1
- data/man/man8/puppet-key.8 +1 -1
- data/man/man8/puppet-lookup.8 +1 -1
- data/man/man8/puppet-man.8 +1 -1
- data/man/man8/puppet-module.8 +1 -1
- data/man/man8/puppet-node.8 +1 -1
- data/man/man8/puppet-parser.8 +1 -1
- data/man/man8/puppet-plugin.8 +1 -1
- data/man/man8/puppet-report.8 +1 -1
- data/man/man8/puppet-resource.8 +1 -1
- data/man/man8/puppet-script.8 +1 -1
- data/man/man8/puppet-ssl.8 +2 -2
- data/man/man8/puppet-status.8 +1 -1
- data/man/man8/puppet.8 +2 -2
- data/spec/fixtures/vcr/cassettes/Puppet_Type_File/when_sourcing/from_http/using_md5/should_fetch_if_not_on_the_local_disk.yml +1 -67
- data/spec/fixtures/vcr/cassettes/Puppet_Type_File/when_sourcing/from_http/using_md5/should_not_update_if_content_on_disk_is_up-to-date.yml +1 -69
- data/spec/fixtures/vcr/cassettes/Puppet_Type_File/when_sourcing/from_http/using_md5/should_update_if_content_differs_on_disk.yml +1 -69
- data/spec/fixtures/vcr/cassettes/Puppet_Type_File/when_sourcing/from_http/using_mtime/should_fetch_if_mtime_is_older_on_disk.yml +1 -67
- data/spec/fixtures/vcr/cassettes/Puppet_Type_File/when_sourcing/from_http/using_mtime/should_fetch_if_no_header_specified.yml +1 -65
- data/spec/fixtures/vcr/cassettes/Puppet_Type_File/when_sourcing/from_http/using_mtime/should_fetch_if_not_on_the_local_disk.yml +1 -67
- data/spec/fixtures/vcr/cassettes/Puppet_Type_File/when_sourcing/from_http/using_mtime/should_not_update_if_mtime_is_newer_on_disk.yml +1 -67
- data/spec/integration/faces/plugin_spec.rb +3 -1
- data/spec/integration/http/client_spec.rb +11 -0
- data/spec/integration/network/http_pool_spec.rb +9 -1
- data/spec/unit/application/describe_spec.rb +88 -50
- data/spec/unit/configurer/plugin_handler_spec.rb +36 -19
- data/spec/unit/configurer_spec.rb +16 -14
- data/spec/unit/face/plugin_spec.rb +12 -10
- data/spec/unit/functions/lookup_spec.rb +13 -0
- data/spec/unit/http/client_spec.rb +172 -1
- data/spec/unit/http/resolver_spec.rb +14 -2
- data/spec/unit/http/response_spec.rb +69 -0
- data/spec/unit/http/service/ca_spec.rb +28 -9
- data/spec/unit/http/service/compiler_spec.rb +151 -24
- data/spec/unit/http/service/file_server_spec.rb +65 -8
- data/spec/unit/http/service/report_spec.rb +17 -8
- data/spec/unit/http/service_spec.rb +92 -3
- data/spec/unit/http/session_spec.rb +104 -1
- data/spec/unit/indirector/catalog/rest_spec.rb +59 -2
- data/spec/unit/indirector/facts/rest_spec.rb +79 -24
- data/spec/unit/indirector/file_content/rest_spec.rb +53 -2
- data/spec/unit/indirector/file_metadata/rest_spec.rb +109 -2
- data/spec/unit/indirector/node/rest_spec.rb +57 -2
- data/spec/unit/indirector/report/rest_spec.rb +58 -51
- data/spec/unit/indirector/resource/ral_spec.rb +7 -8
- data/spec/unit/indirector/status/rest_spec.rb +43 -2
- data/spec/unit/network/http/pool_spec.rb +57 -11
- data/spec/unit/provider/group/groupadd_spec.rb +22 -8
- data/spec/unit/settings/autosign_setting_spec.rb +1 -1
- data/spec/unit/settings/http_extra_headers_spec.rb +64 -0
- data/spec/unit/ssl/state_machine_spec.rb +10 -0
- data/spec/unit/transaction_spec.rb +0 -2
- data/spec/unit/type/file/ensure_spec.rb +1 -2
- data/spec/unit/type/file/source_spec.rb +86 -35
- data/spec/unit/util/at_fork_spec.rb +1 -0
- data/spec/unit/util/pidlock_spec.rb +36 -24
- metadata +7 -3
- data/COMMITTERS.md +0 -244
@@ -68,77 +68,9 @@ http_interactions:
|
|
68
68
|
string: ''
|
69
69
|
http_version:
|
70
70
|
recorded_at: Sun, 22 Mar 2015 22:57:44 GMT
|
71
|
-
- request:
|
72
|
-
method: head
|
73
|
-
uri: http://my-server/file/
|
74
|
-
body:
|
75
|
-
encoding: US-ASCII
|
76
|
-
string: ''
|
77
|
-
headers:
|
78
|
-
Accept:
|
79
|
-
- ! '*/*'
|
80
|
-
User-Agent:
|
81
|
-
- Ruby
|
82
|
-
response:
|
83
|
-
status:
|
84
|
-
code: 200
|
85
|
-
message: ! 'OK '
|
86
|
-
headers:
|
87
|
-
Etag:
|
88
|
-
- 62e0b-184a-550f415e
|
89
|
-
Content-Type:
|
90
|
-
- text/html
|
91
|
-
Content-Length:
|
92
|
-
- '6218'
|
93
|
-
Content-MD5:
|
94
|
-
- Es93YfogzPk5EimSmqb9XQ==
|
95
|
-
Last-Modified:
|
96
|
-
- Sun, 22 Mar 2015 22:25:34 GMT
|
97
|
-
Server:
|
98
|
-
- WEBrick/1.3.1 (Ruby/1.9.3/2013-11-22)
|
99
|
-
Date:
|
100
|
-
- Sun, 22 Mar 2015 22:57:44 GMT
|
101
|
-
Connection:
|
102
|
-
- Keep-Alive
|
103
|
-
body:
|
104
|
-
encoding: US-ASCII
|
105
|
-
string: ''
|
106
|
-
http_version:
|
107
|
-
recorded_at: Sun, 22 Mar 2015 22:57:44 GMT
|
108
|
-
- request:
|
109
|
-
method: head
|
110
|
-
uri: http://my-server/file
|
111
|
-
body:
|
112
|
-
encoding: US-ASCII
|
113
|
-
string: ''
|
114
|
-
headers:
|
115
|
-
Accept:
|
116
|
-
- ! '*/*'
|
117
|
-
User-Agent:
|
118
|
-
- Ruby
|
119
|
-
response:
|
120
|
-
status:
|
121
|
-
code: 301
|
122
|
-
message: ! 'Moved Permanently '
|
123
|
-
headers:
|
124
|
-
Location:
|
125
|
-
- http://my-server/file/
|
126
|
-
Server:
|
127
|
-
- WEBrick/1.3.1 (Ruby/1.9.3/2013-11-22)
|
128
|
-
Date:
|
129
|
-
- Sun, 22 Mar 2015 22:57:44 GMT
|
130
|
-
Content-Length:
|
131
|
-
- '44'
|
132
|
-
Connection:
|
133
|
-
- Keep-Alive
|
134
|
-
body:
|
135
|
-
encoding: US-ASCII
|
136
|
-
string: ''
|
137
|
-
http_version:
|
138
|
-
recorded_at: Sun, 22 Mar 2015 22:57:44 GMT
|
139
71
|
- request:
|
140
72
|
method: get
|
141
|
-
uri: http://my-server/file
|
73
|
+
uri: http://my-server/file
|
142
74
|
body:
|
143
75
|
encoding: US-ASCII
|
144
76
|
string: ''
|
@@ -68,77 +68,9 @@ http_interactions:
|
|
68
68
|
string: ''
|
69
69
|
http_version:
|
70
70
|
recorded_at: Sun, 22 Mar 2015 22:57:44 GMT
|
71
|
-
- request:
|
72
|
-
method: head
|
73
|
-
uri: http://my-server/file/
|
74
|
-
body:
|
75
|
-
encoding: US-ASCII
|
76
|
-
string: ''
|
77
|
-
headers:
|
78
|
-
Accept:
|
79
|
-
- ! '*/*'
|
80
|
-
User-Agent:
|
81
|
-
- Ruby
|
82
|
-
response:
|
83
|
-
status:
|
84
|
-
code: 200
|
85
|
-
message: ! 'OK '
|
86
|
-
headers:
|
87
|
-
Etag:
|
88
|
-
- 62e0b-184a-550f415e
|
89
|
-
Content-Type:
|
90
|
-
- text/html
|
91
|
-
Content-Length:
|
92
|
-
- '6218'
|
93
|
-
Content-MD5:
|
94
|
-
- Es93YfogzPk5EimSmqb9XQ==
|
95
|
-
Last-Modified:
|
96
|
-
- Sun, 22 Mar 2015 22:25:34 GMT
|
97
|
-
Server:
|
98
|
-
- WEBrick/1.3.1 (Ruby/1.9.3/2013-11-22)
|
99
|
-
Date:
|
100
|
-
- Sun, 22 Mar 2015 22:57:44 GMT
|
101
|
-
Connection:
|
102
|
-
- Keep-Alive
|
103
|
-
body:
|
104
|
-
encoding: US-ASCII
|
105
|
-
string: ''
|
106
|
-
http_version:
|
107
|
-
recorded_at: Sun, 22 Mar 2015 22:57:44 GMT
|
108
|
-
- request:
|
109
|
-
method: head
|
110
|
-
uri: http://my-server/file
|
111
|
-
body:
|
112
|
-
encoding: US-ASCII
|
113
|
-
string: ''
|
114
|
-
headers:
|
115
|
-
Accept:
|
116
|
-
- ! '*/*'
|
117
|
-
User-Agent:
|
118
|
-
- Ruby
|
119
|
-
response:
|
120
|
-
status:
|
121
|
-
code: 301
|
122
|
-
message: ! 'Moved Permanently '
|
123
|
-
headers:
|
124
|
-
Location:
|
125
|
-
- http://my-server/file/
|
126
|
-
Server:
|
127
|
-
- WEBrick/1.3.1 (Ruby/1.9.3/2013-11-22)
|
128
|
-
Date:
|
129
|
-
- Sun, 22 Mar 2015 22:57:44 GMT
|
130
|
-
Content-Length:
|
131
|
-
- '44'
|
132
|
-
Connection:
|
133
|
-
- Keep-Alive
|
134
|
-
body:
|
135
|
-
encoding: US-ASCII
|
136
|
-
string: ''
|
137
|
-
http_version:
|
138
|
-
recorded_at: Sun, 22 Mar 2015 22:57:44 GMT
|
139
71
|
- request:
|
140
72
|
method: get
|
141
|
-
uri: http://my-server/file
|
73
|
+
uri: http://my-server/file
|
142
74
|
body:
|
143
75
|
encoding: US-ASCII
|
144
76
|
string: ''
|
@@ -66,75 +66,9 @@ http_interactions:
|
|
66
66
|
string: ''
|
67
67
|
http_version:
|
68
68
|
recorded_at: Sun, 22 Mar 2015 22:57:44 GMT
|
69
|
-
- request:
|
70
|
-
method: head
|
71
|
-
uri: http://my-server/file/
|
72
|
-
body:
|
73
|
-
encoding: US-ASCII
|
74
|
-
string: ''
|
75
|
-
headers:
|
76
|
-
Accept:
|
77
|
-
- ! '*/*'
|
78
|
-
User-Agent:
|
79
|
-
- Ruby
|
80
|
-
response:
|
81
|
-
status:
|
82
|
-
code: 200
|
83
|
-
message: ! 'OK '
|
84
|
-
headers:
|
85
|
-
Etag:
|
86
|
-
- 62e0b-184a-550f415e
|
87
|
-
Content-Type:
|
88
|
-
- text/html
|
89
|
-
Content-Length:
|
90
|
-
- '6218'
|
91
|
-
Last-Modified:
|
92
|
-
- Sun, 22 Mar 2015 22:25:34 GMT
|
93
|
-
Server:
|
94
|
-
- WEBrick/1.3.1 (Ruby/1.9.3/2013-11-22)
|
95
|
-
Date:
|
96
|
-
- Sun, 22 Mar 2015 22:57:44 GMT
|
97
|
-
Connection:
|
98
|
-
- Keep-Alive
|
99
|
-
body:
|
100
|
-
encoding: US-ASCII
|
101
|
-
string: ''
|
102
|
-
http_version:
|
103
|
-
recorded_at: Sun, 22 Mar 2015 22:57:44 GMT
|
104
|
-
- request:
|
105
|
-
method: head
|
106
|
-
uri: http://my-server/file
|
107
|
-
body:
|
108
|
-
encoding: US-ASCII
|
109
|
-
string: ''
|
110
|
-
headers:
|
111
|
-
Accept:
|
112
|
-
- ! '*/*'
|
113
|
-
User-Agent:
|
114
|
-
- Ruby
|
115
|
-
response:
|
116
|
-
status:
|
117
|
-
code: 301
|
118
|
-
message: ! 'Moved Permanently '
|
119
|
-
headers:
|
120
|
-
Location:
|
121
|
-
- http://my-server/file/
|
122
|
-
Server:
|
123
|
-
- WEBrick/1.3.1 (Ruby/1.9.3/2013-11-22)
|
124
|
-
Date:
|
125
|
-
- Sun, 22 Mar 2015 22:57:44 GMT
|
126
|
-
Content-Length:
|
127
|
-
- '44'
|
128
|
-
Connection:
|
129
|
-
- Keep-Alive
|
130
|
-
body:
|
131
|
-
encoding: US-ASCII
|
132
|
-
string: ''
|
133
|
-
http_version:
|
134
|
-
recorded_at: Sun, 22 Mar 2015 22:57:44 GMT
|
135
69
|
- request:
|
136
70
|
method: get
|
137
|
-
uri: http://my-server/file
|
71
|
+
uri: http://my-server/file
|
138
72
|
body:
|
139
73
|
encoding: US-ASCII
|
140
74
|
string: ''
|
@@ -64,73 +64,9 @@ http_interactions:
|
|
64
64
|
string: ''
|
65
65
|
http_version:
|
66
66
|
recorded_at: Sun, 22 Mar 2015 22:57:44 GMT
|
67
|
-
- request:
|
68
|
-
method: head
|
69
|
-
uri: http://my-server/file/
|
70
|
-
body:
|
71
|
-
encoding: US-ASCII
|
72
|
-
string: ''
|
73
|
-
headers:
|
74
|
-
Accept:
|
75
|
-
- ! '*/*'
|
76
|
-
User-Agent:
|
77
|
-
- Ruby
|
78
|
-
response:
|
79
|
-
status:
|
80
|
-
code: 200
|
81
|
-
message: ! 'OK '
|
82
|
-
headers:
|
83
|
-
Etag:
|
84
|
-
- 62e0b-184a-550f415e
|
85
|
-
Content-Type:
|
86
|
-
- text/html
|
87
|
-
Content-Length:
|
88
|
-
- '6218'
|
89
|
-
Server:
|
90
|
-
- WEBrick/1.3.1 (Ruby/1.9.3/2013-11-22)
|
91
|
-
Date:
|
92
|
-
- Sun, 22 Mar 2015 22:57:44 GMT
|
93
|
-
Connection:
|
94
|
-
- Keep-Alive
|
95
|
-
body:
|
96
|
-
encoding: US-ASCII
|
97
|
-
string: ''
|
98
|
-
http_version:
|
99
|
-
recorded_at: Sun, 22 Mar 2015 22:57:44 GMT
|
100
|
-
- request:
|
101
|
-
method: head
|
102
|
-
uri: http://my-server/file
|
103
|
-
body:
|
104
|
-
encoding: US-ASCII
|
105
|
-
string: ''
|
106
|
-
headers:
|
107
|
-
Accept:
|
108
|
-
- ! '*/*'
|
109
|
-
User-Agent:
|
110
|
-
- Ruby
|
111
|
-
response:
|
112
|
-
status:
|
113
|
-
code: 301
|
114
|
-
message: ! 'Moved Permanently '
|
115
|
-
headers:
|
116
|
-
Location:
|
117
|
-
- http://my-server/file/
|
118
|
-
Server:
|
119
|
-
- WEBrick/1.3.1 (Ruby/1.9.3/2013-11-22)
|
120
|
-
Date:
|
121
|
-
- Sun, 22 Mar 2015 22:57:44 GMT
|
122
|
-
Content-Length:
|
123
|
-
- '44'
|
124
|
-
Connection:
|
125
|
-
- Keep-Alive
|
126
|
-
body:
|
127
|
-
encoding: US-ASCII
|
128
|
-
string: ''
|
129
|
-
http_version:
|
130
|
-
recorded_at: Sun, 22 Mar 2015 22:57:44 GMT
|
131
67
|
- request:
|
132
68
|
method: get
|
133
|
-
uri: http://my-server/file
|
69
|
+
uri: http://my-server/file
|
134
70
|
body:
|
135
71
|
encoding: US-ASCII
|
136
72
|
string: ''
|
@@ -66,75 +66,9 @@ http_interactions:
|
|
66
66
|
string: ''
|
67
67
|
http_version:
|
68
68
|
recorded_at: Sun, 22 Mar 2015 22:57:44 GMT
|
69
|
-
- request:
|
70
|
-
method: head
|
71
|
-
uri: http://my-server/file/
|
72
|
-
body:
|
73
|
-
encoding: US-ASCII
|
74
|
-
string: ''
|
75
|
-
headers:
|
76
|
-
Accept:
|
77
|
-
- ! '*/*'
|
78
|
-
User-Agent:
|
79
|
-
- Ruby
|
80
|
-
response:
|
81
|
-
status:
|
82
|
-
code: 200
|
83
|
-
message: ! 'OK '
|
84
|
-
headers:
|
85
|
-
Etag:
|
86
|
-
- 62e0b-184a-550f415e
|
87
|
-
Content-Type:
|
88
|
-
- text/html
|
89
|
-
Content-Length:
|
90
|
-
- '6218'
|
91
|
-
Last-Modified:
|
92
|
-
- Sun, 22 Mar 2015 22:25:34 GMT
|
93
|
-
Server:
|
94
|
-
- WEBrick/1.3.1 (Ruby/1.9.3/2013-11-22)
|
95
|
-
Date:
|
96
|
-
- Sun, 22 Mar 2015 22:57:44 GMT
|
97
|
-
Connection:
|
98
|
-
- Keep-Alive
|
99
|
-
body:
|
100
|
-
encoding: US-ASCII
|
101
|
-
string: ''
|
102
|
-
http_version:
|
103
|
-
recorded_at: Sun, 22 Mar 2015 22:57:44 GMT
|
104
|
-
- request:
|
105
|
-
method: head
|
106
|
-
uri: http://my-server/file
|
107
|
-
body:
|
108
|
-
encoding: US-ASCII
|
109
|
-
string: ''
|
110
|
-
headers:
|
111
|
-
Accept:
|
112
|
-
- ! '*/*'
|
113
|
-
User-Agent:
|
114
|
-
- Ruby
|
115
|
-
response:
|
116
|
-
status:
|
117
|
-
code: 301
|
118
|
-
message: ! 'Moved Permanently '
|
119
|
-
headers:
|
120
|
-
Location:
|
121
|
-
- http://my-server/file/
|
122
|
-
Server:
|
123
|
-
- WEBrick/1.3.1 (Ruby/1.9.3/2013-11-22)
|
124
|
-
Date:
|
125
|
-
- Sun, 22 Mar 2015 22:57:44 GMT
|
126
|
-
Content-Length:
|
127
|
-
- '44'
|
128
|
-
Connection:
|
129
|
-
- Keep-Alive
|
130
|
-
body:
|
131
|
-
encoding: US-ASCII
|
132
|
-
string: ''
|
133
|
-
http_version:
|
134
|
-
recorded_at: Sun, 22 Mar 2015 22:57:44 GMT
|
135
69
|
- request:
|
136
70
|
method: get
|
137
|
-
uri: http://my-server/file
|
71
|
+
uri: http://my-server/file
|
138
72
|
body:
|
139
73
|
encoding: US-ASCII
|
140
74
|
string: ''
|
@@ -66,75 +66,9 @@ http_interactions:
|
|
66
66
|
string: ''
|
67
67
|
http_version:
|
68
68
|
recorded_at: Sun, 22 Mar 2015 22:57:44 GMT
|
69
|
-
- request:
|
70
|
-
method: head
|
71
|
-
uri: http://my-server/file/
|
72
|
-
body:
|
73
|
-
encoding: US-ASCII
|
74
|
-
string: ''
|
75
|
-
headers:
|
76
|
-
Accept:
|
77
|
-
- ! '*/*'
|
78
|
-
User-Agent:
|
79
|
-
- Ruby
|
80
|
-
response:
|
81
|
-
status:
|
82
|
-
code: 200
|
83
|
-
message: ! 'OK '
|
84
|
-
headers:
|
85
|
-
Etag:
|
86
|
-
- 62e0b-184a-550f415e
|
87
|
-
Content-Type:
|
88
|
-
- text/html
|
89
|
-
Content-Length:
|
90
|
-
- '6218'
|
91
|
-
Last-Modified:
|
92
|
-
- Sun, 22 Mar 2015 22:25:34 GMT
|
93
|
-
Server:
|
94
|
-
- WEBrick/1.3.1 (Ruby/1.9.3/2013-11-22)
|
95
|
-
Date:
|
96
|
-
- Sun, 22 Mar 2015 22:57:44 GMT
|
97
|
-
Connection:
|
98
|
-
- Keep-Alive
|
99
|
-
body:
|
100
|
-
encoding: US-ASCII
|
101
|
-
string: ''
|
102
|
-
http_version:
|
103
|
-
recorded_at: Sun, 22 Mar 2015 22:57:44 GMT
|
104
|
-
- request:
|
105
|
-
method: head
|
106
|
-
uri: http://my-server/file
|
107
|
-
body:
|
108
|
-
encoding: US-ASCII
|
109
|
-
string: ''
|
110
|
-
headers:
|
111
|
-
Accept:
|
112
|
-
- ! '*/*'
|
113
|
-
User-Agent:
|
114
|
-
- Ruby
|
115
|
-
response:
|
116
|
-
status:
|
117
|
-
code: 301
|
118
|
-
message: ! 'Moved Permanently '
|
119
|
-
headers:
|
120
|
-
Location:
|
121
|
-
- http://my-server/file/
|
122
|
-
Server:
|
123
|
-
- WEBrick/1.3.1 (Ruby/1.9.3/2013-11-22)
|
124
|
-
Date:
|
125
|
-
- Sun, 22 Mar 2015 22:57:44 GMT
|
126
|
-
Content-Length:
|
127
|
-
- '44'
|
128
|
-
Connection:
|
129
|
-
- Keep-Alive
|
130
|
-
body:
|
131
|
-
encoding: US-ASCII
|
132
|
-
string: ''
|
133
|
-
http_version:
|
134
|
-
recorded_at: Sun, 22 Mar 2015 22:57:44 GMT
|
135
69
|
- request:
|
136
70
|
method: get
|
137
|
-
uri: http://my-server/file
|
71
|
+
uri: http://my-server/file
|
138
72
|
body:
|
139
73
|
encoding: US-ASCII
|
140
74
|
string: ''
|