mu 5.7.8 → 5.7.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (198) hide show
  1. data/lib/mu.rb +1 -1
  2. data/lib/mu/command.rb +18 -2
  3. data/lib/mu/command/cmd_musl.rb +165 -0
  4. data/lib/mu/command/cmd_runscale.rb +12 -8
  5. data/lib/mu/command/help.rb +1 -0
  6. data/lib/mu/har.rb +449 -0
  7. data/lib/mu/libxml.rb +21 -0
  8. data/lib/mu/maker.rb +288 -0
  9. data/lib/mu/xmlizable.rb +559 -0
  10. metadata +78 -267
  11. data/rdoc/Gemfile.html +0 -194
  12. data/rdoc/LICENSE_txt.html +0 -201
  13. data/rdoc/Mu.html +0 -478
  14. data/rdoc/Mu/Client.html +0 -461
  15. data/rdoc/Mu/Command.html +0 -338
  16. data/rdoc/Mu/Command/API.html +0 -844
  17. data/rdoc/Mu/Command/Cmd_appid.html +0 -1341
  18. data/rdoc/Mu/Command/Cmd_cli.html +0 -800
  19. data/rdoc/Mu/Command/Cmd_ddt.html +0 -1612
  20. data/rdoc/Mu/Command/Cmd_homepage.html +0 -762
  21. data/rdoc/Mu/Command/Cmd_muapi.html +0 -1363
  22. data/rdoc/Mu/Command/Cmd_netconfig.html +0 -1077
  23. data/rdoc/Mu/Command/Cmd_runscale.html +0 -1441
  24. data/rdoc/Mu/Command/Cmd_runscenario.html +0 -787
  25. data/rdoc/Mu/Command/Cmd_runverify.html +0 -893
  26. data/rdoc/Mu/Command/Cmd_scale.html +0 -1323
  27. data/rdoc/Mu/Command/Cmd_system.html +0 -677
  28. data/rdoc/Mu/Command/Curl.html +0 -751
  29. data/rdoc/Mu/Command/Help.html +0 -305
  30. data/rdoc/Mu/Curl.html +0 -243
  31. data/rdoc/Mu/Curl/Error.html +0 -304
  32. data/rdoc/Mu/Curl/Error/Authorize.html +0 -355
  33. data/rdoc/Mu/Curl/Error/Connect.html +0 -286
  34. data/rdoc/Mu/Curl/Error/DNS.html +0 -236
  35. data/rdoc/Mu/Curl/Error/Region.html +0 -307
  36. data/rdoc/Mu/Curl/Error/Status.html +0 -286
  37. data/rdoc/Mu/Curl/Error/Timeout.html +0 -286
  38. data/rdoc/Mu/Curl/Verify.html +0 -472
  39. data/rdoc/Mu/Curl/Verify/Request.html +0 -424
  40. data/rdoc/Mu/Curl/Verify/Response.html +0 -372
  41. data/rdoc/Mu/Curl/Verify/Result.html +0 -373
  42. data/rdoc/Mu/Ddt.html +0 -1347
  43. data/rdoc/Mu/Helper.html +0 -517
  44. data/rdoc/Mu/Homepage.html +0 -719
  45. data/rdoc/Mu/HttpHelper.html +0 -890
  46. data/rdoc/Mu/Muapi.html +0 -1226
  47. data/rdoc/Mu/Netconfig.html +0 -1178
  48. data/rdoc/Mu/Scale.html +0 -1359
  49. data/rdoc/Mu/System.html +0 -504
  50. data/rdoc/Object.html +0 -285
  51. data/rdoc/README_rdoc.html +0 -892
  52. data/rdoc/Rakefile.html +0 -257
  53. data/rdoc/TCTestMu.html +0 -2583
  54. data/rdoc/Test.html +0 -235
  55. data/rdoc/Test/Unit.html +0 -235
  56. data/rdoc/Test/Unit/TestCase.html +0 -236
  57. data/rdoc/Test/helper_rb.html +0 -62
  58. data/rdoc/Test/tc_test_mu_rb.html +0 -60
  59. data/rdoc/VERSION.html +0 -179
  60. data/rdoc/bin/mu.html +0 -54
  61. data/rdoc/classes/Mu.html +0 -132
  62. data/rdoc/classes/Mu/Client.html +0 -214
  63. data/rdoc/classes/Mu/Command.html +0 -129
  64. data/rdoc/classes/Mu/Command/API.html +0 -362
  65. data/rdoc/classes/Mu/Command/Cmd_appid.html +0 -238
  66. data/rdoc/classes/Mu/Command/Cmd_cli.html +0 -273
  67. data/rdoc/classes/Mu/Command/Cmd_ddt.html +0 -639
  68. data/rdoc/classes/Mu/Command/Cmd_homepage.html +0 -276
  69. data/rdoc/classes/Mu/Command/Cmd_muapi.html +0 -527
  70. data/rdoc/classes/Mu/Command/Cmd_netconfig.html +0 -399
  71. data/rdoc/classes/Mu/Command/Cmd_runscale.html +0 -220
  72. data/rdoc/classes/Mu/Command/Cmd_runscenario.html +0 -197
  73. data/rdoc/classes/Mu/Command/Cmd_runverify.html +0 -196
  74. data/rdoc/classes/Mu/Command/Cmd_scale.html +0 -511
  75. data/rdoc/classes/Mu/Command/Cmd_system.html +0 -236
  76. data/rdoc/classes/Mu/Command/Curl.html +0 -182
  77. data/rdoc/classes/Mu/Command/Help.html +0 -137
  78. data/rdoc/classes/Mu/Curl.html +0 -116
  79. data/rdoc/classes/Mu/Curl/Error.html +0 -148
  80. data/rdoc/classes/Mu/Curl/Error/Authorize.html +0 -165
  81. data/rdoc/classes/Mu/Curl/Error/Connect.html +0 -139
  82. data/rdoc/classes/Mu/Curl/Error/DNS.html +0 -113
  83. data/rdoc/classes/Mu/Curl/Error/Region.html +0 -150
  84. data/rdoc/classes/Mu/Curl/Error/Status.html +0 -139
  85. data/rdoc/classes/Mu/Curl/Error/Timeout.html +0 -139
  86. data/rdoc/classes/Mu/Curl/Verify.html +0 -207
  87. data/rdoc/classes/Mu/Curl/Verify/Request.html +0 -187
  88. data/rdoc/classes/Mu/Curl/Verify/Response.html +0 -172
  89. data/rdoc/classes/Mu/Curl/Verify/Result.html +0 -172
  90. data/rdoc/classes/Mu/Ddt.html +0 -610
  91. data/rdoc/classes/Mu/Helper.html +0 -308
  92. data/rdoc/classes/Mu/Homepage.html +0 -306
  93. data/rdoc/classes/Mu/HttpHelper.html +0 -393
  94. data/rdoc/classes/Mu/Muapi.html +0 -549
  95. data/rdoc/classes/Mu/Netconfig.html +0 -478
  96. data/rdoc/classes/Mu/Scale.html +0 -580
  97. data/rdoc/classes/Mu/System.html +0 -232
  98. data/rdoc/classes/Object.html +0 -139
  99. data/rdoc/classes/TCTestMu.html +0 -948
  100. data/rdoc/classes/Test.html +0 -107
  101. data/rdoc/classes/Test/Unit.html +0 -107
  102. data/rdoc/classes/Test/Unit/TestCase.html +0 -113
  103. data/rdoc/created.rid +0 -36
  104. data/rdoc/files/lib/mu/api/ddt_rb.html +0 -101
  105. data/rdoc/files/lib/mu/api/homepage_rb.html +0 -101
  106. data/rdoc/files/lib/mu/api/muapi_rb.html +0 -101
  107. data/rdoc/files/lib/mu/api/netconfig_rb.html +0 -101
  108. data/rdoc/files/lib/mu/api/scale_rb.html +0 -101
  109. data/rdoc/files/lib/mu/api/system_rb.html +0 -101
  110. data/rdoc/files/lib/mu/client_rb.html +0 -101
  111. data/rdoc/files/lib/mu/command/api_rb.html +0 -101
  112. data/rdoc/files/lib/mu/command/cmd_appid_rb.html +0 -119
  113. data/rdoc/files/lib/mu/command/cmd_cli_rb.html +0 -108
  114. data/rdoc/files/lib/mu/command/cmd_ddt_rb.html +0 -116
  115. data/rdoc/files/lib/mu/command/cmd_homepage_rb.html +0 -115
  116. data/rdoc/files/lib/mu/command/cmd_muapi_rb.html +0 -115
  117. data/rdoc/files/lib/mu/command/cmd_netconfig_rb.html +0 -116
  118. data/rdoc/files/lib/mu/command/cmd_runscale_rb.html +0 -119
  119. data/rdoc/files/lib/mu/command/cmd_runscenario_rb.html +0 -115
  120. data/rdoc/files/lib/mu/command/cmd_runverify_rb.html +0 -118
  121. data/rdoc/files/lib/mu/command/cmd_scale_rb.html +0 -115
  122. data/rdoc/files/lib/mu/command/cmd_system_rb.html +0 -116
  123. data/rdoc/files/lib/mu/command/curl_rb.html +0 -101
  124. data/rdoc/files/lib/mu/command/help_rb.html +0 -101
  125. data/rdoc/files/lib/mu/command_rb.html +0 -107
  126. data/rdoc/files/lib/mu/curl/error_rb.html +0 -101
  127. data/rdoc/files/lib/mu/curl/verify_rb.html +0 -101
  128. data/rdoc/files/lib/mu/helper_rb.html +0 -101
  129. data/rdoc/files/lib/mu/http_helper_rb.html +0 -101
  130. data/rdoc/files/lib/mu_rb.html +0 -121
  131. data/rdoc/files/test/helper_rb.html +0 -112
  132. data/rdoc/files/test/tc_test_mu_rb.html +0 -111
  133. data/rdoc/fr_class_index.html +0 -34
  134. data/rdoc/fr_file_index.html +0 -31
  135. data/rdoc/fr_method_index.html +0 -112
  136. data/rdoc/images/brick.png +0 -0
  137. data/rdoc/images/brick_link.png +0 -0
  138. data/rdoc/images/bug.png +0 -0
  139. data/rdoc/images/bullet_black.png +0 -0
  140. data/rdoc/images/bullet_toggle_minus.png +0 -0
  141. data/rdoc/images/bullet_toggle_plus.png +0 -0
  142. data/rdoc/images/date.png +0 -0
  143. data/rdoc/images/find.png +0 -0
  144. data/rdoc/images/loadingAnimation.gif +0 -0
  145. data/rdoc/images/macFFBgHack.png +0 -0
  146. data/rdoc/images/package.png +0 -0
  147. data/rdoc/images/page_green.png +0 -0
  148. data/rdoc/images/page_white_text.png +0 -0
  149. data/rdoc/images/page_white_width.png +0 -0
  150. data/rdoc/images/plugin.png +0 -0
  151. data/rdoc/images/ruby.png +0 -0
  152. data/rdoc/images/tag_green.png +0 -0
  153. data/rdoc/images/wrench.png +0 -0
  154. data/rdoc/images/wrench_orange.png +0 -0
  155. data/rdoc/images/zoom.png +0 -0
  156. data/rdoc/index.html +0 -884
  157. data/rdoc/js/darkfish.js +0 -116
  158. data/rdoc/js/jquery.js +0 -32
  159. data/rdoc/js/quicksearch.js +0 -114
  160. data/rdoc/js/thickbox-compressed.js +0 -10
  161. data/rdoc/lib/mu/api/ddt_rb.html +0 -52
  162. data/rdoc/lib/mu/api/homepage_rb.html +0 -52
  163. data/rdoc/lib/mu/api/muapi_rb.html +0 -52
  164. data/rdoc/lib/mu/api/netconfig_rb.html +0 -52
  165. data/rdoc/lib/mu/api/scale_rb.html +0 -52
  166. data/rdoc/lib/mu/api/system_rb.html +0 -52
  167. data/rdoc/lib/mu/client_rb.html +0 -52
  168. data/rdoc/lib/mu/command/api_rb.html +0 -52
  169. data/rdoc/lib/mu/command/cmd_appid_rb.html +0 -62
  170. data/rdoc/lib/mu/command/cmd_cli_rb.html +0 -55
  171. data/rdoc/lib/mu/command/cmd_ddt_rb.html +0 -60
  172. data/rdoc/lib/mu/command/cmd_homepage_rb.html +0 -57
  173. data/rdoc/lib/mu/command/cmd_muapi_rb.html +0 -59
  174. data/rdoc/lib/mu/command/cmd_netconfig_rb.html +0 -58
  175. data/rdoc/lib/mu/command/cmd_runscale_rb.html +0 -62
  176. data/rdoc/lib/mu/command/cmd_runscenario_rb.html +0 -57
  177. data/rdoc/lib/mu/command/cmd_runverify_rb.html +0 -61
  178. data/rdoc/lib/mu/command/cmd_scale_rb.html +0 -58
  179. data/rdoc/lib/mu/command/cmd_system_rb.html +0 -59
  180. data/rdoc/lib/mu/command/curl_rb.html +0 -52
  181. data/rdoc/lib/mu/command/help_rb.html +0 -52
  182. data/rdoc/lib/mu/command_rb.html +0 -55
  183. data/rdoc/lib/mu/curl/error_rb.html +0 -52
  184. data/rdoc/lib/mu/curl/verify_rb.html +0 -52
  185. data/rdoc/lib/mu/helper_rb.html +0 -52
  186. data/rdoc/lib/mu/http_helper_rb.html +0 -52
  187. data/rdoc/lib/mu_rb.html +0 -80
  188. data/rdoc/rdoc-style.css +0 -208
  189. data/rdoc/rdoc.css +0 -706
  190. data/test/data/app_id_stats.csv +0 -1
  191. data/test/data/app_id_status.json +0 -156
  192. data/test/data/data_cgi.msl +0 -94
  193. data/test/data/data_cgi.xml +0 -322
  194. data/test/data/default_test.csv +0 -3
  195. data/test/data/ftp_with_channel.xml +0 -1643
  196. data/test/data/irc.xml +0 -3837
  197. data/test/data/scale.json +0 -25
  198. data/test/data/test_data_cgi_error.xml +0 -35
@@ -1,424 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
- <head>
6
- <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
7
-
8
- <title>Class: Mu::Curl::Verify::Request</title>
9
-
10
- <link rel="stylesheet" href="../../../rdoc.css" type="text/css" media="screen" />
11
-
12
- <script src="../../../js/jquery.js" type="text/javascript"
13
- charset="utf-8"></script>
14
- <script src="../../../js/thickbox-compressed.js" type="text/javascript"
15
- charset="utf-8"></script>
16
- <script src="../../../js/quicksearch.js" type="text/javascript"
17
- charset="utf-8"></script>
18
- <script src="../../../js/darkfish.js" type="text/javascript"
19
- charset="utf-8"></script>
20
-
21
- </head>
22
- <body class="class">
23
-
24
- <div id="metadata">
25
- <div id="home-metadata">
26
- <div id="home-section" class="section">
27
- <h3 class="section-header">
28
- <a href="../../../index.html">Home</a>
29
- <a href="../../../index.html#classes">Classes</a>
30
- <a href="../../../index.html#methods">Methods</a>
31
- </h3>
32
- </div>
33
- </div>
34
-
35
- <div id="file-metadata">
36
- <div id="file-list-section" class="section">
37
- <h3 class="section-header">In Files</h3>
38
- <div class="section-body">
39
- <ul>
40
-
41
- <li><a href="../../../lib/mu/curl/verify_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
42
- class="thickbox" title="lib/mu/curl/verify.rb">lib/mu/curl/verify.rb</a></li>
43
-
44
- </ul>
45
- </div>
46
- </div>
47
-
48
-
49
- </div>
50
-
51
- <div id="class-metadata">
52
-
53
- <!-- Parent Class -->
54
-
55
- <div id="parent-class-section" class="section">
56
- <h3 class="section-header">Parent</h3>
57
-
58
- <p class="link"><a href="../../../Object.html">Object</a></p>
59
-
60
- </div>
61
-
62
-
63
- <!-- Namespace Contents -->
64
-
65
-
66
- <!-- Method Quickref -->
67
-
68
- <div id="method-list-section" class="section">
69
- <h3 class="section-header">Methods</h3>
70
- <ul class="link-list">
71
-
72
- <li><a href="#method-c-new">::new</a></li>
73
-
74
- <li><a href="#method-c-parse">::parse</a></li>
75
-
76
- </ul>
77
- </div>
78
-
79
-
80
- <!-- Included Modules -->
81
-
82
- </div>
83
-
84
- <div id="project-metadata">
85
-
86
-
87
- <div id="fileindex-section" class="section project-section">
88
- <h3 class="section-header">Files</h3>
89
- <ul>
90
-
91
- <li class="file"><a href="../../../Gemfile.html">Gemfile</a></li>
92
-
93
- <li class="file"><a href="../../../LICENSE_txt.html">LICENSE.txt</a></li>
94
-
95
- <li class="file"><a href="../../../README_rdoc.html">README.rdoc</a></li>
96
-
97
- <li class="file"><a href="../../../Rakefile.html">Rakefile</a></li>
98
-
99
- <li class="file"><a href="../../../VERSION.html">VERSION</a></li>
100
-
101
- </ul>
102
- </div>
103
-
104
-
105
- <div id="classindex-section" class="section project-section">
106
- <h3 class="section-header">Class Index
107
- <span class="search-toggle"><img src="../../../images/find.png"
108
- height="16" width="16" alt="[+]"
109
- title="show/hide quicksearch" /></span></h3>
110
- <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
111
- <fieldset>
112
- <legend>Quicksearch</legend>
113
- <input type="text" name="quicksearch" value=""
114
- class="quicksearch-field" />
115
- </fieldset>
116
- </form>
117
-
118
- <ul class="link-list">
119
-
120
- <li><a href="../../../Mu.html">Mu</a></li>
121
-
122
- <li><a href="../../../Mu/Client.html">Mu::Client</a></li>
123
-
124
- <li><a href="../../../Mu/Command.html">Mu::Command</a></li>
125
-
126
- <li><a href="../../../Mu/Command/API.html">Mu::Command::API</a></li>
127
-
128
- <li><a href="../../../Mu/Command/API.html">Mu::Command::API</a></li>
129
-
130
- <li><a href="../../../Mu/Command/Cmd_appid.html">Mu::Command::Cmd_appid</a></li>
131
-
132
- <li><a href="../../../Mu/Command/Cmd_cli.html">Mu::Command::Cmd_cli</a></li>
133
-
134
- <li><a href="../../../Mu/Command/Cmd_ddt.html">Mu::Command::Cmd_ddt</a></li>
135
-
136
- <li><a href="../../../Mu/Command/Cmd_homepage.html">Mu::Command::Cmd_homepage</a></li>
137
-
138
- <li><a href="../../../Mu/Command/Cmd_muapi.html">Mu::Command::Cmd_muapi</a></li>
139
-
140
- <li><a href="../../../Mu/Command/Cmd_netconfig.html">Mu::Command::Cmd_netconfig</a></li>
141
-
142
- <li><a href="../../../Mu/Command/Cmd_runscale.html">Mu::Command::Cmd_runscale</a></li>
143
-
144
- <li><a href="../../../Mu/Command/Cmd_runscenario.html">Mu::Command::Cmd_runscenario</a></li>
145
-
146
- <li><a href="../../../Mu/Command/Cmd_runverify.html">Mu::Command::Cmd_runverify</a></li>
147
-
148
- <li><a href="../../../Mu/Command/Cmd_scale.html">Mu::Command::Cmd_scale</a></li>
149
-
150
- <li><a href="../../../Mu/Command/Cmd_system.html">Mu::Command::Cmd_system</a></li>
151
-
152
- <li><a href="../../../Mu/Command/Curl.html">Mu::Command::Curl</a></li>
153
-
154
- <li><a href="../../../Mu/Command/Help.html">Mu::Command::Help</a></li>
155
-
156
- <li><a href="../../../Mu/Curl.html">Mu::Curl</a></li>
157
-
158
- <li><a href="../../../Mu/Curl/Error.html">Mu::Curl::Error</a></li>
159
-
160
- <li><a href="../../../Mu/Curl/Error/Authorize.html">Mu::Curl::Error::Authorize</a></li>
161
-
162
- <li><a href="../../../Mu/Curl/Error/Connect.html">Mu::Curl::Error::Connect</a></li>
163
-
164
- <li><a href="../../../Mu/Curl/Error/DNS.html">Mu::Curl::Error::DNS</a></li>
165
-
166
- <li><a href="../../../Mu/Curl/Error/Region.html">Mu::Curl::Error::Region</a></li>
167
-
168
- <li><a href="../../../Mu/Curl/Error/Status.html">Mu::Curl::Error::Status</a></li>
169
-
170
- <li><a href="../../../Mu/Curl/Error/Timeout.html">Mu::Curl::Error::Timeout</a></li>
171
-
172
- <li><a href="../../../Mu/Curl/Verify.html">Mu::Curl::Verify</a></li>
173
-
174
- <li><a href="../../../Mu/Curl/Verify/Request.html">Mu::Curl::Verify::Request</a></li>
175
-
176
- <li><a href="../../../Mu/Curl/Verify/Response.html">Mu::Curl::Verify::Response</a></li>
177
-
178
- <li><a href="../../../Mu/Curl/Verify/Result.html">Mu::Curl::Verify::Result</a></li>
179
-
180
- <li><a href="../../../Mu/Ddt.html">Mu::Ddt</a></li>
181
-
182
- <li><a href="../../../Mu/Helper.html">Mu::Helper</a></li>
183
-
184
- <li><a href="../../../Mu/Homepage.html">Mu::Homepage</a></li>
185
-
186
- <li><a href="../../../Mu/HttpHelper.html">Mu::HttpHelper</a></li>
187
-
188
- <li><a href="../../../Mu/Muapi.html">Mu::Muapi</a></li>
189
-
190
- <li><a href="../../../Mu/Netconfig.html">Mu::Netconfig</a></li>
191
-
192
- <li><a href="../../../Mu/Scale.html">Mu::Scale</a></li>
193
-
194
- <li><a href="../../../Mu/System.html">Mu::System</a></li>
195
-
196
- <li><a href="../../../Test.html">Test</a></li>
197
-
198
- <li><a href="../../../Test/Unit.html">Test::Unit</a></li>
199
-
200
- <li><a href="../../../Test/Unit/TestCase.html">Test::Unit::TestCase</a></li>
201
-
202
- <li><a href="../../../Object.html">Object</a></li>
203
-
204
- <li><a href="../../../TCTestMu.html">TCTestMu</a></li>
205
-
206
- </ul>
207
- <div id="no-class-search-results" style="display: none;">No matching classes.</div>
208
- </div>
209
-
210
-
211
- </div>
212
- </div>
213
-
214
- <div id="documentation">
215
- <h1 class="class">Mu::Curl::Verify::Request</h1>
216
-
217
- <div id="description">
218
-
219
- </div>
220
-
221
- <!-- Constants -->
222
-
223
-
224
- <!-- Attributes -->
225
-
226
- <div id="attribute-method-details" class="method-section section">
227
- <h3 class="section-header">Attributes</h3>
228
-
229
-
230
- <div id="line-attribute-method" class="method-detail">
231
- <a name="line"></a>
232
-
233
- <div class="method-heading attribute-method-heading">
234
- <span class="method-name">line</span><span
235
- class="attribute-access-type">[R]</span>
236
- </div>
237
-
238
- <div class="method-description">
239
-
240
-
241
-
242
- </div>
243
- </div>
244
-
245
- <div id="method-attribute-method" class="method-detail">
246
- <a name="method"></a>
247
-
248
- <div class="method-heading attribute-method-heading">
249
- <span class="method-name">method</span><span
250
- class="attribute-access-type">[R]</span>
251
- </div>
252
-
253
- <div class="method-description">
254
-
255
-
256
-
257
- </div>
258
- </div>
259
-
260
- <div id="url-attribute-method" class="method-detail">
261
- <a name="url"></a>
262
-
263
- <div class="method-heading attribute-method-heading">
264
- <span class="method-name">url</span><span
265
- class="attribute-access-type">[R]</span>
266
- </div>
267
-
268
- <div class="method-description">
269
-
270
-
271
-
272
- </div>
273
- </div>
274
-
275
- <div id="headers-attribute-method" class="method-detail">
276
- <a name="headers"></a>
277
-
278
- <div class="method-heading attribute-method-heading">
279
- <span class="method-name">headers</span><span
280
- class="attribute-access-type">[R]</span>
281
- </div>
282
-
283
- <div class="method-description">
284
-
285
-
286
-
287
- </div>
288
- </div>
289
-
290
- <div id="content-attribute-method" class="method-detail">
291
- <a name="content"></a>
292
-
293
- <div class="method-heading attribute-method-heading">
294
- <span class="method-name">content</span><span
295
- class="attribute-access-type">[R]</span>
296
- </div>
297
-
298
- <div class="method-description">
299
-
300
-
301
-
302
- </div>
303
- </div>
304
-
305
- </div>
306
-
307
-
308
- <!-- Methods -->
309
-
310
- <div id="public-class-method-details" class="method-section section">
311
- <h3 class="section-header">Public Class Methods</h3>
312
-
313
-
314
- <div id="new-method" class="method-detail ">
315
- <a name="method-c-new"></a>
316
-
317
- <div class="method-heading">
318
-
319
- <span class="method-name">new</span><span
320
- class="method-args">(json)</span>
321
- <span class="method-click-advice">click to toggle source</span>
322
-
323
- </div>
324
-
325
- <div class="method-description">
326
-
327
-
328
-
329
-
330
-
331
- <div class="method-source-code"
332
- id="new-source">
333
- <pre>
334
- <span class="ruby-comment cmt"># File lib/mu/curl/verify.rb, line 32</span>
335
- 32: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">json</span>
336
- 33: <span class="ruby-identifier">rq</span> = <span class="ruby-constant">Request</span>.<span class="ruby-identifier">parse</span> <span class="ruby-identifier">json</span>[<span class="ruby-value str">'bytes'</span>][<span class="ruby-value">0</span>][<span class="ruby-value str">'data'</span>]
337
- 34: <span class="ruby-ivar">@line</span> = <span class="ruby-identifier">rq</span>[<span class="ruby-value">:line</span>]
338
- 35: <span class="ruby-ivar">@method</span>, <span class="ruby-ivar">@url</span>, <span class="ruby-identifier">_</span> = <span class="ruby-identifier">rq</span>[<span class="ruby-value">:line</span>].<span class="ruby-identifier">split</span>(<span class="ruby-regexp re">/\s+/</span>, <span class="ruby-value">3</span>)
339
- 36: <span class="ruby-ivar">@content</span> = <span class="ruby-identifier">rq</span>[<span class="ruby-value">:content</span>]
340
- 37: <span class="ruby-ivar">@headers</span> = <span class="ruby-constant">Hash</span>.<span class="ruby-identifier">new</span>
341
- 38: <span class="ruby-identifier">rq</span>[<span class="ruby-value">:headers</span>].<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">h</span><span class="ruby-operator">|</span> <span class="ruby-ivar">@headers</span>[<span class="ruby-identifier">h</span>[<span class="ruby-value">:key</span>]] = <span class="ruby-identifier">h</span>[<span class="ruby-value">:val</span>] }
342
- 39: <span class="ruby-keyword kw">end</span></pre>
343
- </div>
344
-
345
- </div>
346
-
347
-
348
-
349
-
350
- </div>
351
-
352
-
353
- <div id="parse-method" class="method-detail ">
354
- <a name="method-c-parse"></a>
355
-
356
- <div class="method-heading">
357
-
358
- <span class="method-name">parse</span><span
359
- class="method-args">(data)</span>
360
- <span class="method-click-advice">click to toggle source</span>
361
-
362
- </div>
363
-
364
- <div class="method-description">
365
-
366
-
367
-
368
-
369
-
370
- <div class="method-source-code"
371
- id="parse-source">
372
- <pre>
373
- <span class="ruby-comment cmt"># File lib/mu/curl/verify.rb, line 5</span>
374
- 5: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">parse</span> <span class="ruby-identifier">data</span>
375
- 6: <span class="ruby-identifier">ios</span> = <span class="ruby-constant">StringIO</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">data</span>.<span class="ruby-identifier">unpack</span>(<span class="ruby-value str">'m'</span>)[<span class="ruby-value">0</span>]
376
- 7: <span class="ruby-identifier">rqrs</span> = { <span class="ruby-value">:line</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">''</span>, <span class="ruby-value">:headers</span> =<span class="ruby-operator">&gt;</span> [], <span class="ruby-value">:content</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">''</span> }
377
- 8: <span class="ruby-keyword kw">while</span> <span class="ruby-keyword kw">true</span>
378
- 9: <span class="ruby-identifier">line</span> = <span class="ruby-identifier">ios</span>.<span class="ruby-identifier">readline</span>
379
- 10: <span class="ruby-keyword kw">break</span> <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">not</span> <span class="ruby-identifier">line</span> <span class="ruby-keyword kw">or</span> <span class="ruby-identifier">line</span> <span class="ruby-operator">==</span> <span class="ruby-value str">&quot;\r\n&quot;</span>
380
- 11: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">rqrs</span>[<span class="ruby-value">:line</span>].<span class="ruby-identifier">empty?</span>
381
- 12: <span class="ruby-identifier">rqrs</span>[<span class="ruby-value">:line</span>] = <span class="ruby-identifier">line</span>.<span class="ruby-identifier">chomp</span>
382
- 13: <span class="ruby-keyword kw">else</span>
383
- 14: <span class="ruby-keyword kw">if</span> <span class="ruby-regexp re">/^([^:]+):(.*)/</span> <span class="ruby-operator">=~</span> <span class="ruby-identifier">line</span>
384
- 15: <span class="ruby-identifier">key</span> = <span class="ruby-node">$1</span>
385
- 16: <span class="ruby-identifier">val</span> = <span class="ruby-node">$2</span>.<span class="ruby-identifier">strip</span>
386
- 17: <span class="ruby-identifier">rqrs</span>[<span class="ruby-value">:headers</span>] <span class="ruby-operator">&lt;&lt;</span> { <span class="ruby-value">:line</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">line</span>.<span class="ruby-identifier">chomp</span>, <span class="ruby-value">:key</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">key</span>, <span class="ruby-value">:val</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">val</span> }
387
- 18: <span class="ruby-keyword kw">end</span>
388
- 19: <span class="ruby-keyword kw">end</span>
389
- 20: <span class="ruby-keyword kw">end</span>
390
- 21:
391
- 22: <span class="ruby-identifier">rqrs</span>[<span class="ruby-value">:content</span>] = <span class="ruby-identifier">ios</span>.<span class="ruby-identifier">read</span>
392
- 23: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">rqrs</span>
393
- 24: <span class="ruby-keyword kw">end</span></pre>
394
- </div>
395
-
396
- </div>
397
-
398
-
399
-
400
-
401
- </div>
402
-
403
-
404
- </div>
405
-
406
-
407
- </div>
408
-
409
-
410
- <div id="rdoc-debugging-section-dump" class="debugging-section">
411
-
412
- <p>Disabled; run with --debug to generate this.</p>
413
-
414
- </div>
415
-
416
- <div id="validator-badges">
417
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
418
- <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
419
- Rdoc Generator</a> 1.1.6</small>.</p>
420
- </div>
421
-
422
- </body>
423
- </html>
424
-
@@ -1,372 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
- <head>
6
- <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
7
-
8
- <title>Class: Mu::Curl::Verify::Response</title>
9
-
10
- <link rel="stylesheet" href="../../../rdoc.css" type="text/css" media="screen" />
11
-
12
- <script src="../../../js/jquery.js" type="text/javascript"
13
- charset="utf-8"></script>
14
- <script src="../../../js/thickbox-compressed.js" type="text/javascript"
15
- charset="utf-8"></script>
16
- <script src="../../../js/quicksearch.js" type="text/javascript"
17
- charset="utf-8"></script>
18
- <script src="../../../js/darkfish.js" type="text/javascript"
19
- charset="utf-8"></script>
20
-
21
- </head>
22
- <body class="class">
23
-
24
- <div id="metadata">
25
- <div id="home-metadata">
26
- <div id="home-section" class="section">
27
- <h3 class="section-header">
28
- <a href="../../../index.html">Home</a>
29
- <a href="../../../index.html#classes">Classes</a>
30
- <a href="../../../index.html#methods">Methods</a>
31
- </h3>
32
- </div>
33
- </div>
34
-
35
- <div id="file-metadata">
36
- <div id="file-list-section" class="section">
37
- <h3 class="section-header">In Files</h3>
38
- <div class="section-body">
39
- <ul>
40
-
41
- <li><a href="../../../lib/mu/curl/verify_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
42
- class="thickbox" title="lib/mu/curl/verify.rb">lib/mu/curl/verify.rb</a></li>
43
-
44
- </ul>
45
- </div>
46
- </div>
47
-
48
-
49
- </div>
50
-
51
- <div id="class-metadata">
52
-
53
- <!-- Parent Class -->
54
-
55
- <div id="parent-class-section" class="section">
56
- <h3 class="section-header">Parent</h3>
57
-
58
- <p class="link"><a href="../../../Object.html">Object</a></p>
59
-
60
- </div>
61
-
62
-
63
- <!-- Namespace Contents -->
64
-
65
-
66
- <!-- Method Quickref -->
67
-
68
- <div id="method-list-section" class="section">
69
- <h3 class="section-header">Methods</h3>
70
- <ul class="link-list">
71
-
72
- <li><a href="#method-c-new">::new</a></li>
73
-
74
- </ul>
75
- </div>
76
-
77
-
78
- <!-- Included Modules -->
79
-
80
- </div>
81
-
82
- <div id="project-metadata">
83
-
84
-
85
- <div id="fileindex-section" class="section project-section">
86
- <h3 class="section-header">Files</h3>
87
- <ul>
88
-
89
- <li class="file"><a href="../../../Gemfile.html">Gemfile</a></li>
90
-
91
- <li class="file"><a href="../../../LICENSE_txt.html">LICENSE.txt</a></li>
92
-
93
- <li class="file"><a href="../../../README_rdoc.html">README.rdoc</a></li>
94
-
95
- <li class="file"><a href="../../../Rakefile.html">Rakefile</a></li>
96
-
97
- <li class="file"><a href="../../../VERSION.html">VERSION</a></li>
98
-
99
- </ul>
100
- </div>
101
-
102
-
103
- <div id="classindex-section" class="section project-section">
104
- <h3 class="section-header">Class Index
105
- <span class="search-toggle"><img src="../../../images/find.png"
106
- height="16" width="16" alt="[+]"
107
- title="show/hide quicksearch" /></span></h3>
108
- <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
109
- <fieldset>
110
- <legend>Quicksearch</legend>
111
- <input type="text" name="quicksearch" value=""
112
- class="quicksearch-field" />
113
- </fieldset>
114
- </form>
115
-
116
- <ul class="link-list">
117
-
118
- <li><a href="../../../Mu.html">Mu</a></li>
119
-
120
- <li><a href="../../../Mu/Client.html">Mu::Client</a></li>
121
-
122
- <li><a href="../../../Mu/Command.html">Mu::Command</a></li>
123
-
124
- <li><a href="../../../Mu/Command/API.html">Mu::Command::API</a></li>
125
-
126
- <li><a href="../../../Mu/Command/API.html">Mu::Command::API</a></li>
127
-
128
- <li><a href="../../../Mu/Command/Cmd_appid.html">Mu::Command::Cmd_appid</a></li>
129
-
130
- <li><a href="../../../Mu/Command/Cmd_cli.html">Mu::Command::Cmd_cli</a></li>
131
-
132
- <li><a href="../../../Mu/Command/Cmd_ddt.html">Mu::Command::Cmd_ddt</a></li>
133
-
134
- <li><a href="../../../Mu/Command/Cmd_homepage.html">Mu::Command::Cmd_homepage</a></li>
135
-
136
- <li><a href="../../../Mu/Command/Cmd_muapi.html">Mu::Command::Cmd_muapi</a></li>
137
-
138
- <li><a href="../../../Mu/Command/Cmd_netconfig.html">Mu::Command::Cmd_netconfig</a></li>
139
-
140
- <li><a href="../../../Mu/Command/Cmd_runscale.html">Mu::Command::Cmd_runscale</a></li>
141
-
142
- <li><a href="../../../Mu/Command/Cmd_runscenario.html">Mu::Command::Cmd_runscenario</a></li>
143
-
144
- <li><a href="../../../Mu/Command/Cmd_runverify.html">Mu::Command::Cmd_runverify</a></li>
145
-
146
- <li><a href="../../../Mu/Command/Cmd_scale.html">Mu::Command::Cmd_scale</a></li>
147
-
148
- <li><a href="../../../Mu/Command/Cmd_system.html">Mu::Command::Cmd_system</a></li>
149
-
150
- <li><a href="../../../Mu/Command/Curl.html">Mu::Command::Curl</a></li>
151
-
152
- <li><a href="../../../Mu/Command/Help.html">Mu::Command::Help</a></li>
153
-
154
- <li><a href="../../../Mu/Curl.html">Mu::Curl</a></li>
155
-
156
- <li><a href="../../../Mu/Curl/Error.html">Mu::Curl::Error</a></li>
157
-
158
- <li><a href="../../../Mu/Curl/Error/Authorize.html">Mu::Curl::Error::Authorize</a></li>
159
-
160
- <li><a href="../../../Mu/Curl/Error/Connect.html">Mu::Curl::Error::Connect</a></li>
161
-
162
- <li><a href="../../../Mu/Curl/Error/DNS.html">Mu::Curl::Error::DNS</a></li>
163
-
164
- <li><a href="../../../Mu/Curl/Error/Region.html">Mu::Curl::Error::Region</a></li>
165
-
166
- <li><a href="../../../Mu/Curl/Error/Status.html">Mu::Curl::Error::Status</a></li>
167
-
168
- <li><a href="../../../Mu/Curl/Error/Timeout.html">Mu::Curl::Error::Timeout</a></li>
169
-
170
- <li><a href="../../../Mu/Curl/Verify.html">Mu::Curl::Verify</a></li>
171
-
172
- <li><a href="../../../Mu/Curl/Verify/Request.html">Mu::Curl::Verify::Request</a></li>
173
-
174
- <li><a href="../../../Mu/Curl/Verify/Response.html">Mu::Curl::Verify::Response</a></li>
175
-
176
- <li><a href="../../../Mu/Curl/Verify/Result.html">Mu::Curl::Verify::Result</a></li>
177
-
178
- <li><a href="../../../Mu/Ddt.html">Mu::Ddt</a></li>
179
-
180
- <li><a href="../../../Mu/Helper.html">Mu::Helper</a></li>
181
-
182
- <li><a href="../../../Mu/Homepage.html">Mu::Homepage</a></li>
183
-
184
- <li><a href="../../../Mu/HttpHelper.html">Mu::HttpHelper</a></li>
185
-
186
- <li><a href="../../../Mu/Muapi.html">Mu::Muapi</a></li>
187
-
188
- <li><a href="../../../Mu/Netconfig.html">Mu::Netconfig</a></li>
189
-
190
- <li><a href="../../../Mu/Scale.html">Mu::Scale</a></li>
191
-
192
- <li><a href="../../../Mu/System.html">Mu::System</a></li>
193
-
194
- <li><a href="../../../Test.html">Test</a></li>
195
-
196
- <li><a href="../../../Test/Unit.html">Test::Unit</a></li>
197
-
198
- <li><a href="../../../Test/Unit/TestCase.html">Test::Unit::TestCase</a></li>
199
-
200
- <li><a href="../../../Object.html">Object</a></li>
201
-
202
- <li><a href="../../../TCTestMu.html">TCTestMu</a></li>
203
-
204
- </ul>
205
- <div id="no-class-search-results" style="display: none;">No matching classes.</div>
206
- </div>
207
-
208
-
209
- </div>
210
- </div>
211
-
212
- <div id="documentation">
213
- <h1 class="class">Mu::Curl::Verify::Response</h1>
214
-
215
- <div id="description">
216
-
217
- </div>
218
-
219
- <!-- Constants -->
220
-
221
-
222
- <!-- Attributes -->
223
-
224
- <div id="attribute-method-details" class="method-section section">
225
- <h3 class="section-header">Attributes</h3>
226
-
227
-
228
- <div id="line-attribute-method" class="method-detail">
229
- <a name="line"></a>
230
-
231
- <div class="method-heading attribute-method-heading">
232
- <span class="method-name">line</span><span
233
- class="attribute-access-type">[R]</span>
234
- </div>
235
-
236
- <div class="method-description">
237
-
238
-
239
-
240
- </div>
241
- </div>
242
-
243
- <div id="status-attribute-method" class="method-detail">
244
- <a name="status"></a>
245
-
246
- <div class="method-heading attribute-method-heading">
247
- <span class="method-name">status</span><span
248
- class="attribute-access-type">[R]</span>
249
- </div>
250
-
251
- <div class="method-description">
252
-
253
-
254
-
255
- </div>
256
- </div>
257
-
258
- <div id="message-attribute-method" class="method-detail">
259
- <a name="message"></a>
260
-
261
- <div class="method-heading attribute-method-heading">
262
- <span class="method-name">message</span><span
263
- class="attribute-access-type">[R]</span>
264
- </div>
265
-
266
- <div class="method-description">
267
-
268
-
269
-
270
- </div>
271
- </div>
272
-
273
- <div id="headers-attribute-method" class="method-detail">
274
- <a name="headers"></a>
275
-
276
- <div class="method-heading attribute-method-heading">
277
- <span class="method-name">headers</span><span
278
- class="attribute-access-type">[R]</span>
279
- </div>
280
-
281
- <div class="method-description">
282
-
283
-
284
-
285
- </div>
286
- </div>
287
-
288
- <div id="content-attribute-method" class="method-detail">
289
- <a name="content"></a>
290
-
291
- <div class="method-heading attribute-method-heading">
292
- <span class="method-name">content</span><span
293
- class="attribute-access-type">[R]</span>
294
- </div>
295
-
296
- <div class="method-description">
297
-
298
-
299
-
300
- </div>
301
- </div>
302
-
303
- </div>
304
-
305
-
306
- <!-- Methods -->
307
-
308
- <div id="public-class-method-details" class="method-section section">
309
- <h3 class="section-header">Public Class Methods</h3>
310
-
311
-
312
- <div id="new-method" class="method-detail ">
313
- <a name="method-c-new"></a>
314
-
315
- <div class="method-heading">
316
-
317
- <span class="method-name">new</span><span
318
- class="method-args">(json)</span>
319
- <span class="method-click-advice">click to toggle source</span>
320
-
321
- </div>
322
-
323
- <div class="method-description">
324
-
325
-
326
-
327
-
328
-
329
- <div class="method-source-code"
330
- id="new-source">
331
- <pre>
332
- <span class="ruby-comment cmt"># File lib/mu/curl/verify.rb, line 49</span>
333
- 49: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">json</span>
334
- 50: <span class="ruby-identifier">rs</span> = <span class="ruby-constant">Request</span>.<span class="ruby-identifier">parse</span> <span class="ruby-identifier">json</span>[<span class="ruby-value str">'bytes'</span>][<span class="ruby-value">1</span>][<span class="ruby-value str">'data'</span>]
335
- 51: <span class="ruby-ivar">@line</span> = <span class="ruby-identifier">rs</span>[<span class="ruby-value">:line</span>]
336
- 52: <span class="ruby-identifier">_</span>, <span class="ruby-ivar">@status</span>, <span class="ruby-ivar">@message</span> = <span class="ruby-identifier">rs</span>[<span class="ruby-value">:line</span>].<span class="ruby-identifier">split</span>(<span class="ruby-regexp re">/\s+/</span>, <span class="ruby-value">3</span>)
337
- 53: <span class="ruby-ivar">@status</span> = <span class="ruby-ivar">@status</span>.<span class="ruby-identifier">to_i</span>
338
- 54: <span class="ruby-ivar">@content</span> = <span class="ruby-identifier">rs</span>[<span class="ruby-value">:content</span>]
339
- 55: <span class="ruby-ivar">@headers</span> = <span class="ruby-constant">Hash</span>.<span class="ruby-identifier">new</span>
340
- 56: <span class="ruby-identifier">rs</span>[<span class="ruby-value">:headers</span>].<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">h</span><span class="ruby-operator">|</span> <span class="ruby-ivar">@headers</span>[<span class="ruby-identifier">h</span>[<span class="ruby-value">:key</span>]] = <span class="ruby-identifier">h</span>[<span class="ruby-value">:val</span>] }
341
- 57: <span class="ruby-keyword kw">end</span></pre>
342
- </div>
343
-
344
- </div>
345
-
346
-
347
-
348
-
349
- </div>
350
-
351
-
352
- </div>
353
-
354
-
355
- </div>
356
-
357
-
358
- <div id="rdoc-debugging-section-dump" class="debugging-section">
359
-
360
- <p>Disabled; run with --debug to generate this.</p>
361
-
362
- </div>
363
-
364
- <div id="validator-badges">
365
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
366
- <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
367
- Rdoc Generator</a> 1.1.6</small>.</p>
368
- </div>
369
-
370
- </body>
371
- </html>
372
-