httparty 0.16.2 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. checksums.yaml +5 -5
  2. data/.editorconfig +18 -0
  3. data/.github/dependabot.yml +6 -0
  4. data/.github/workflows/ci.yml +23 -0
  5. data/.gitignore +2 -0
  6. data/.rubocop_todo.yml +1 -1
  7. data/Changelog.md +425 -280
  8. data/Gemfile +7 -0
  9. data/Guardfile +3 -2
  10. data/README.md +5 -5
  11. data/docs/README.md +90 -5
  12. data/examples/README.md +28 -11
  13. data/examples/aaws.rb +6 -2
  14. data/examples/body_stream.rb +14 -0
  15. data/examples/idn.rb +10 -0
  16. data/examples/microsoft_graph.rb +52 -0
  17. data/examples/multipart.rb +22 -0
  18. data/examples/peer_cert.rb +9 -0
  19. data/examples/stream_download.rb +8 -2
  20. data/httparty.gemspec +4 -3
  21. data/lib/httparty/connection_adapter.rb +44 -20
  22. data/lib/httparty/cookie_hash.rb +10 -8
  23. data/lib/httparty/decompressor.rb +102 -0
  24. data/lib/httparty/exceptions.rb +3 -1
  25. data/lib/httparty/hash_conversions.rb +10 -4
  26. data/lib/httparty/headers_processor.rb +32 -0
  27. data/lib/httparty/logger/apache_formatter.rb +31 -6
  28. data/lib/httparty/logger/curl_formatter.rb +9 -7
  29. data/lib/httparty/logger/logger.rb +5 -1
  30. data/lib/httparty/logger/logstash_formatter.rb +62 -0
  31. data/lib/httparty/module_inheritable_attributes.rb +9 -9
  32. data/lib/httparty/net_digest_auth.rb +15 -15
  33. data/lib/httparty/parser.rb +12 -5
  34. data/lib/httparty/request/body.rb +54 -27
  35. data/lib/httparty/request/multipart_boundary.rb +2 -0
  36. data/lib/httparty/request.rb +105 -107
  37. data/lib/httparty/response/headers.rb +4 -2
  38. data/lib/httparty/response.rb +52 -9
  39. data/lib/httparty/response_fragment.rb +21 -0
  40. data/lib/httparty/text_encoder.rb +72 -0
  41. data/lib/httparty/utils.rb +13 -0
  42. data/lib/httparty/version.rb +3 -1
  43. data/lib/httparty.rb +81 -33
  44. data/script/release +4 -4
  45. data/website/css/common.css +1 -1
  46. metadata +50 -107
  47. data/.simplecov +0 -1
  48. data/.travis.yml +0 -10
  49. data/features/basic_authentication.feature +0 -20
  50. data/features/command_line.feature +0 -95
  51. data/features/deals_with_http_error_codes.feature +0 -26
  52. data/features/digest_authentication.feature +0 -30
  53. data/features/handles_compressed_responses.feature +0 -27
  54. data/features/handles_multiple_formats.feature +0 -57
  55. data/features/steps/env.rb +0 -27
  56. data/features/steps/httparty_response_steps.rb +0 -56
  57. data/features/steps/httparty_steps.rb +0 -43
  58. data/features/steps/mongrel_helper.rb +0 -127
  59. data/features/steps/remote_service_steps.rb +0 -92
  60. data/features/supports_read_timeout_option.feature +0 -13
  61. data/features/supports_redirection.feature +0 -22
  62. data/features/supports_timeout_option.feature +0 -13
  63. data/spec/fixtures/delicious.xml +0 -23
  64. data/spec/fixtures/empty.xml +0 -0
  65. data/spec/fixtures/google.html +0 -3
  66. data/spec/fixtures/ssl/generate.sh +0 -29
  67. data/spec/fixtures/ssl/generated/bogushost.crt +0 -13
  68. data/spec/fixtures/ssl/generated/ca.crt +0 -16
  69. data/spec/fixtures/ssl/generated/ca.key +0 -15
  70. data/spec/fixtures/ssl/generated/selfsigned.crt +0 -14
  71. data/spec/fixtures/ssl/generated/server.crt +0 -13
  72. data/spec/fixtures/ssl/generated/server.key +0 -15
  73. data/spec/fixtures/ssl/openssl-exts.cnf +0 -9
  74. data/spec/fixtures/tiny.gif +0 -0
  75. data/spec/fixtures/twitter.csv +0 -2
  76. data/spec/fixtures/twitter.json +0 -1
  77. data/spec/fixtures/twitter.xml +0 -403
  78. data/spec/fixtures/undefined_method_add_node_for_nil.xml +0 -2
  79. data/spec/httparty/connection_adapter_spec.rb +0 -498
  80. data/spec/httparty/cookie_hash_spec.rb +0 -100
  81. data/spec/httparty/exception_spec.rb +0 -45
  82. data/spec/httparty/hash_conversions_spec.rb +0 -56
  83. data/spec/httparty/logger/apache_formatter_spec.rb +0 -41
  84. data/spec/httparty/logger/curl_formatter_spec.rb +0 -119
  85. data/spec/httparty/logger/logger_spec.rb +0 -38
  86. data/spec/httparty/net_digest_auth_spec.rb +0 -270
  87. data/spec/httparty/parser_spec.rb +0 -190
  88. data/spec/httparty/request/body_spec.rb +0 -60
  89. data/spec/httparty/request_spec.rb +0 -1312
  90. data/spec/httparty/response_spec.rb +0 -347
  91. data/spec/httparty/ssl_spec.rb +0 -74
  92. data/spec/httparty_spec.rb +0 -896
  93. data/spec/spec_helper.rb +0 -51
  94. data/spec/support/ssl_test_helper.rb +0 -47
  95. data/spec/support/ssl_test_server.rb +0 -80
  96. data/spec/support/stub_response.rb +0 -49
data/Changelog.md CHANGED
@@ -1,479 +1,624 @@
1
+ # Changelog
2
+
3
+ All notable [changes since 0.22 are documented in GitHub Releases](https://github.com/jnunemaker/httparty/releases).
4
+
5
+ ## 0.21.0
6
+
7
+ - [escape filename in the multipart/form-data Content-Disposition header](https://github.com/jnunemaker/httparty/commit/cdb45a678c43e44570b4e73f84b1abeb5ec22b8e)
8
+ - [Fix request marshaling](https://github.com/jnunemaker/httparty/pull/767)
9
+ - [Replace `mime-types` with `mini_mime`](https://github.com/jnunemaker/httparty/pull/769)
10
+
11
+ ## 0.20.0
12
+
13
+ Breaking changes
14
+
15
+ - Require Ruby >= 2.3.0
16
+
17
+ Fixes
18
+
19
+ - [`Marshal.dump` fails on response objects when request option `:logger` is set or `:parser` is a proc](https://github.com/jnunemaker/httparty/pull/714)
20
+ - [Switch `:pem` option to to `OpenSSL::PKey.read` to support other algorithms](https://github.com/jnunemaker/httparty/pull/720)
21
+
22
+ ## 0.19.1
23
+
24
+ - [Remove use of unary + method for creating non-frozen string to increase compatibility with older versions of ruby](https://github.com/jnunemaker/httparty/commit/4416141d37fd71bdba4f37589ec265f55aa446ce)
25
+
26
+ ## 0.19.0
27
+
28
+ - [Multipart/Form-Data: rewind files after read](https://github.com/jnunemaker/httparty/pull/709)
29
+ - [add frozen_string_literal pragma to all files](https://github.com/jnunemaker/httparty/pull/711)
30
+ - [Better handling of Accept-Encoding / Content-Encoding decompression (fixes #562)](https://github.com/jnunemaker/httparty/pull/729)
31
+
32
+ ## 0.18.1
33
+
34
+ - [Rename cop Lint/HandleExceptions to Lint/SuppressedException](https://github.com/jnunemaker/httparty/pull/699).
35
+ - [Encode keys in query params](https://github.com/jnunemaker/httparty/pull/698).
36
+ - [Fixed SSL doc example](https://github.com/jnunemaker/httparty/pull/692).
37
+ - [Add a build status badge](https://github.com/jnunemaker/httparty/pull/701).
38
+
39
+ ## 0.18.0
40
+
41
+ - [Support gzip/deflate transfer encoding when explicit headers are set](https://github.com/jnunemaker/httparty/pull/678).
42
+ - [Support edge case cookie format with a blank attribute](https://github.com/jnunemaker/httparty/pull/685).
43
+
44
+ ## 0.17.3
45
+
46
+ 0.17.2 is broken https://github.com/jnunemaker/httparty/issues/681
47
+
48
+ ## 0.17.2
49
+
50
+ - [Add Response#nil? deprecetion warning](https://github.com/jnunemaker/httparty/pull/680)
51
+
52
+ ## 0.17.1
53
+
54
+ - [Pass options to dynamic block headers](https://github.com/jnunemaker/httparty/pull/661)
55
+ - [Normalize urls with URI adapter to allow International Domain Names support](https://github.com/jnunemaker/httparty/pull/668)
56
+ - [Add max_retries support](https://github.com/jnunemaker/httparty/pull/660)
57
+ - [Minize gem size by removing test files](https://github.com/jnunemaker/httparty/pull/658)
58
+
59
+ ## 0.17.0
60
+
61
+ - [Fix encoding of streamed chunk](https://github.com/jnunemaker/httparty/pull/644)
62
+ - [Avoid modifying frozen strings](https://github.com/jnunemaker/httparty/pull/649)
63
+ - [Expose .connection on fragment block param](https://github.com/jnunemaker/httparty/pull/648)
64
+ - [Add support for `Net::HTTP#write_timeout` method (Ruby 2.6.0)](https://github.com/jnunemaker/httparty/pull/647)
65
+
66
+ ## 0.16.4
67
+
68
+ - [Add support for Ruby 2.6](https://github.com/jnunemaker/httparty/pull/636)
69
+ - [Fix a few multipart issues](https://github.com/jnunemaker/httparty/pull/626)
70
+ - [Improve a memory usage for https requests](https://github.com/jnunemaker/httparty/pull/625)
71
+ - [Add response code to streamed body](https://github.com/jnunemaker/httparty/pull/588)
72
+
73
+ ## 0.16.3
74
+
75
+ - [Add Logstash-compatible formatter](https://github.com/jnunemaker/httparty/pull/612)
76
+ - [Add support for headers specified with symbols](https://github.com/jnunemaker/httparty/pull/622)
77
+ - [Fix response object marshalling](https://github.com/jnunemaker/httparty/pull/618)
78
+ - [Add ability to send multipart, without passing file](https://github.com/jnunemaker/httparty/pull/615)
79
+ - [Fix detection of content_type for multipart payload](https://github.com/jnunemaker/httparty/pull/616)
80
+ - [Process dynamic headers before making actual request](https://github.com/jnunemaker/httparty/pull/606)
81
+ - [Fix multipart uploads with ActionDispatch::Http::UploadedFile TempFile by using original_filename](https://github.com/jnunemaker/httparty/pull/598)
82
+ - [Added support for lock and unlock http requests](https://github.com/jnunemaker/httparty/pull/596)
83
+
1
84
  ## 0.16.2
2
85
 
3
- * [Support ActionDispatch::Http::UploadedFile again](https://github.com/jnunemaker/httparty/pull/585)
86
+ - [Support ActionDispatch::Http::UploadedFile again](https://github.com/jnunemaker/httparty/pull/585)
4
87
 
5
88
  ## 0.16.1
6
89
 
7
- * [Parse content with application/hal+json content type as JSON](https://github.com/jnunemaker/httparty/pull/573)
8
- * [Convert objects to string when concatenating in multipart stuff](https://github.com/jnunemaker/httparty/pull/575)
9
- * [Fix multipart to set its header even when other headers are provided](https://github.com/jnunemaker/httparty/pull/576)
90
+ - [Parse content with application/hal+json content type as JSON](https://github.com/jnunemaker/httparty/pull/573)
91
+ - [Convert objects to string when concatenating in multipart stuff](https://github.com/jnunemaker/httparty/pull/575)
92
+ - [Fix multipart to set its header even when other headers are provided](https://github.com/jnunemaker/httparty/pull/576)
10
93
 
11
94
  ## 0.16.0
12
95
 
13
- * [Add multipart support](https://github.com/jnunemaker/httparty/pull/569)
96
+ - [Add multipart support](https://github.com/jnunemaker/httparty/pull/569)
14
97
 
15
98
  ## 0.15.7
16
99
 
17
100
  Fixed
18
101
 
19
- * [Add Response#pretty_print | Restore documented behavior](https://github.com/jnunemaker/httparty/pull/570)
20
- * [Add ability to parse response from JSONAPI ](https://github.com/jnunemaker/httparty/pull/553)
102
+ - [Add Response#pretty_print | Restore documented behavior](https://github.com/jnunemaker/httparty/pull/570)
103
+ - [Add ability to parse response from JSONAPI ](https://github.com/jnunemaker/httparty/pull/553)
21
104
 
22
105
  ## 0.15.6
23
106
 
24
107
  Fixed
25
108
 
26
- * [Encoding and content type stuff](https://github.com/jnunemaker/httparty/pull/543)
109
+ - [Encoding and content type stuff](https://github.com/jnunemaker/httparty/pull/543)
27
110
 
28
111
  ## 0.15.5
29
112
 
30
113
  Fixed
31
114
 
32
- * [Use non-destructive gsub](https://github.com/jnunemaker/httparty/pull/540)
115
+ - [Use non-destructive gsub](https://github.com/jnunemaker/httparty/pull/540)
33
116
 
34
117
  ## 0.15.4
35
118
 
36
119
  Fixed
37
120
 
38
- * Prevent gsub errors with different encodings.
39
- * Prevent passing nil to encode_body.
121
+ - Prevent gsub errors with different encodings.
122
+ - Prevent passing nil to encode_body.
40
123
 
41
124
  ## 0.15.3
42
125
 
43
126
  Fixed
44
127
 
45
- * [Fix processing nil body for HEAD requests](https://github.com/jnunemaker/httparty/pull/530).
46
- * Add missing require to headers.rb (33439a8).
128
+ - [Fix processing nil body for HEAD requests](https://github.com/jnunemaker/httparty/pull/530).
129
+ - Add missing require to headers.rb (33439a8).
47
130
 
48
131
  ## 0.15.2
49
132
 
50
133
  Fixed
51
134
 
52
- * Remove symlink from specs. It was reportedly still getting bundled with gem.
135
+ - Remove symlink from specs. It was reportedly still getting bundled with gem.
53
136
 
54
137
  ## 0.15.1
55
138
 
56
139
  Fixed
57
140
 
58
- * Stop including test files in gem. Fixes installation issues on windows due to symlink in spec dir.
141
+ - Stop including test files in gem. Fixes installation issues on windows due to symlink in spec dir.
59
142
 
60
143
  ## 0.15.0
61
144
 
62
145
  Breaking Changes
63
146
 
64
- * require Ruby >= 2.0.0
147
+ - require Ruby >= 2.0.0
65
148
 
66
149
  Fixed
67
150
 
68
- * [fix numerous bugs](https://github.com/jnunemaker/httparty/pull/513)
69
- * [handle utf-8 bom for json parsing](https://github.com/jnunemaker/httparty/pull/520)
70
- * [do not overwrite default headers unless specified](https://github.com/jnunemaker/httparty/pull/518)
151
+ - [fix numerous bugs](https://github.com/jnunemaker/httparty/pull/513)
152
+ - [handle utf-8 bom for json parsing](https://github.com/jnunemaker/httparty/pull/520)
153
+ - [do not overwrite default headers unless specified](https://github.com/jnunemaker/httparty/pull/518)
71
154
 
72
155
  ## 0.14.0
73
156
 
74
157
  Breaking Changes
75
158
 
76
- * None
159
+ - None
77
160
 
78
161
  Added
79
162
 
80
- * [added status predicate methods to Response#respond_to?](https://github.com/jnunemaker/httparty/pull/482)
81
- * [support for MKCOL method](https://github.com/jnunemaker/httparty/pull/465)
82
- * one fewer dependency: [remove json gem from gemspec](https://github.com/jnunemaker/httparty/pull/464)
83
- * [optional raising exception on certain status codes](https://github.com/jnunemaker/httparty/pull/455)
163
+ - [added status predicate methods to Response#respond_to?](https://github.com/jnunemaker/httparty/pull/482)
164
+ - [support for MKCOL method](https://github.com/jnunemaker/httparty/pull/465)
165
+ - one fewer dependency: [remove json gem from gemspec](https://github.com/jnunemaker/httparty/pull/464)
166
+ - [optional raising exception on certain status codes](https://github.com/jnunemaker/httparty/pull/455)
84
167
 
85
168
  Fixed
86
169
 
87
- * [allow empty array to be used as param](https://github.com/jnunemaker/httparty/pull/477)
88
- * [stop mutating cookie hash](https://github.com/jnunemaker/httparty/pull/460)
170
+ - [allow empty array to be used as param](https://github.com/jnunemaker/httparty/pull/477)
171
+ - [stop mutating cookie hash](https://github.com/jnunemaker/httparty/pull/460)
89
172
 
90
173
  ## 0.13.7 aka "party not as hard"
91
- * remove post install emoji as it caused installation issues for some people
174
+
175
+ - remove post install emoji as it caused installation issues for some people
92
176
 
93
177
  ## 0.13.6
94
- * avoid calling String#strip on invalid Strings
95
- * preserve request method on 307 and 308 redirects
96
- * output version with --version for command line bin
97
- * maintain head request method across redirects by default
98
- * add support for RFC2617 MD5-sess algorithm type
99
- * add party popper emoji to post install message
178
+
179
+ - avoid calling String#strip on invalid Strings
180
+ - preserve request method on 307 and 308 redirects
181
+ - output version with --version for command line bin
182
+ - maintain head request method across redirects by default
183
+ - add support for RFC2617 MD5-sess algorithm type
184
+ - add party popper emoji to post install message
100
185
 
101
186
  ## 0.13.5
102
- * allow setting a custom URI adapter
187
+
188
+ - allow setting a custom URI adapter
103
189
 
104
190
  ## 0.13.4
105
- * correct redirect url for redirect paths without leading slash
106
- * remove core_extensions.rb as backwards compat for ruby 1.8 not needed
107
- * replace URI.encode with ERB::Util.url_encode
108
- * allow the response to be tapped
191
+
192
+ - correct redirect url for redirect paths without leading slash
193
+ - remove core_extensions.rb as backwards compat for ruby 1.8 not needed
194
+ - replace URI.encode with ERB::Util.url_encode
195
+ - allow the response to be tapped
109
196
 
110
197
  ## 0.13.3
111
- * minor improvement
112
- * added option to allow for streaming large files without loading them into memory (672cdae)
198
+
199
+ - minor improvement
200
+ - added option to allow for streaming large files without loading them into memory (672cdae)
113
201
 
114
202
  ## 0.13.2
115
- * minor improvement
116
- * [Set correct path on redirect to filename](https://github.com/jnunemaker/httparty/pull/337)
117
- * ensure logger works with curl format
203
+
204
+ - minor improvement
205
+ - [Set correct path on redirect to filename](https://github.com/jnunemaker/httparty/pull/337)
206
+ - ensure logger works with curl format
118
207
 
119
208
  ## 0.13.1 2014-04-08
120
- * new
121
- * [Added ability to specify a body_stream in HttpRequest](https://github.com/jnunemaker/httparty/pull/275)
122
- * [Added read_timeout and open_timeout options](https://github.com/jnunemaker/httparty/pull/278)
123
- * change
124
- * [Initialize HTTParty requests with an URI object and a String](https://github.com/jnunemaker/httparty/pull/274)
125
- * minor improvement
126
- * [Add stackexchange API example](https://github.com/jnunemaker/httparty/pull/280)
209
+
210
+ - new
211
+ - [Added ability to specify a body_stream in HttpRequest](https://github.com/jnunemaker/httparty/pull/275)
212
+ - [Added read_timeout and open_timeout options](https://github.com/jnunemaker/httparty/pull/278)
213
+ - change
214
+ - [Initialize HTTParty requests with an URI object and a String](https://github.com/jnunemaker/httparty/pull/274)
215
+ - minor improvement
216
+ - [Add stackexchange API example](https://github.com/jnunemaker/httparty/pull/280)
127
217
 
128
218
  ## 0.13.0 2014-02-14
129
- * new
130
- * [Add CSV support](https://github.com/jnunemaker/httparty/pull/269)
131
- * [Allows PKCS12 client certificates](https://github.com/jnunemaker/httparty/pull/246)
132
- * bug fix
133
- * [Digest auth no longer fails when multiple headers are sent by the server](https://github.com/jnunemaker/httparty/pull/272)
134
- * [Use 'Basement.copy' when calling 'HTTParty.copy'](https://github.com/jnunemaker/httparty/pull/268)
135
- * [No longer appends ampersand when queries are embedded in paths](https://github.com/jnunemaker/httparty/pull/252)
136
- * change
137
- * [Merge - instead of overwrite - default headers with request provided headers](https://github.com/jnunemaker/httparty/pull/270)
138
- * [Modernize respond_to implementations to support second param](https://github.com/jnunemaker/httparty/pull/264)
139
- * [Sort query parameters by key before processing](https://github.com/jnunemaker/httparty/pull/245)
140
- * minor improvement
141
- * [Add HTTParty::Error base class](https://github.com/jnunemaker/httparty/pull/260)
219
+
220
+ - new
221
+ - [Add CSV support](https://github.com/jnunemaker/httparty/pull/269)
222
+ - [Allows PKCS12 client certificates](https://github.com/jnunemaker/httparty/pull/246)
223
+ - bug fix
224
+ - [Digest auth no longer fails when multiple headers are sent by the server](https://github.com/jnunemaker/httparty/pull/272)
225
+ - [Use 'Basement.copy' when calling 'HTTParty.copy'](https://github.com/jnunemaker/httparty/pull/268)
226
+ - [No longer appends ampersand when queries are embedded in paths](https://github.com/jnunemaker/httparty/pull/252)
227
+ - change
228
+ - [Merge - instead of overwrite - default headers with request provided headers](https://github.com/jnunemaker/httparty/pull/270)
229
+ - [Modernize respond_to implementations to support second param](https://github.com/jnunemaker/httparty/pull/264)
230
+ - [Sort query parameters by key before processing](https://github.com/jnunemaker/httparty/pull/245)
231
+ - minor improvement
232
+ - [Add HTTParty::Error base class](https://github.com/jnunemaker/httparty/pull/260)
142
233
 
143
234
  ## 0.12.0 2013-10-10
144
- * new
145
- * [Added initial logging support](https://github.com/jnunemaker/httparty/pull/243)
146
- * [Add support for local host and port binding](https://github.com/jnunemaker/httparty/pull/238)
147
- * [content_type_charset_support](https://github.com/jnunemaker/httparty/commit/82e351f0904e8ecc856015ff2854698a2ca47fbc)
148
- * bug fix
149
- * [No longer attempt to decompress the body on HEAD requests](https://github.com/jnunemaker/httparty/commit/f2b8cc3d49e0e9363d7054b14f30c340d7b8e7f1)
150
- * [Adding java check in aliasing of multiple choices](https://github.com/jnunemaker/httparty/pull/204/commits)
151
- * change
152
- * [MIME-type files of javascript are returned as a string instead of JSON](https://github.com/jnunemaker/httparty/pull/239)
153
- * [Made SSL connections use the system certificate store by default](https://github.com/jnunemaker/httparty/pull/226)
154
- * [Do not pass proxy options to Net::HTTP connection if not specified](https://github.com/jnunemaker/httparty/pull/222)
155
- * [Replace multi_json with stdlib json](https://github.com/jnunemaker/httparty/pull/214)
156
- * [Require Ruby >= 1.9.3]
157
- * [Response returns array of returned cookie strings](https://github.com/jnunemaker/httparty/pull/218)
158
- * [Allow '=' within value of a cookie]
159
- * minor improvements
160
- * [Improve documentation of ssl_ca_file, ssl_ca_path](https://github.com/jnunemaker/httparty/pull/223)
161
- * [Fix example URLs](https://github.com/jnunemaker/httparty/pull/232)
235
+
236
+ - new
237
+ - [Added initial logging support](https://github.com/jnunemaker/httparty/pull/243)
238
+ - [Add support for local host and port binding](https://github.com/jnunemaker/httparty/pull/238)
239
+ - [content_type_charset_support](https://github.com/jnunemaker/httparty/commit/82e351f0904e8ecc856015ff2854698a2ca47fbc)
240
+ - bug fix
241
+ - [No longer attempt to decompress the body on HEAD requests](https://github.com/jnunemaker/httparty/commit/f2b8cc3d49e0e9363d7054b14f30c340d7b8e7f1)
242
+ - [Adding java check in aliasing of multiple choices](https://github.com/jnunemaker/httparty/pull/204/commits)
243
+ - change
244
+ - [MIME-type files of javascript are returned as a string instead of JSON](https://github.com/jnunemaker/httparty/pull/239)
245
+ - [Made SSL connections use the system certificate store by default](https://github.com/jnunemaker/httparty/pull/226)
246
+ - [Do not pass proxy options to Net::HTTP connection if not specified](https://github.com/jnunemaker/httparty/pull/222)
247
+ - [Replace multi_json with stdlib json](https://github.com/jnunemaker/httparty/pull/214)
248
+ - [Require Ruby >= 1.9.3]
249
+ - [Response returns array of returned cookie strings](https://github.com/jnunemaker/httparty/pull/218)
250
+ - [Allow '=' within value of a cookie]
251
+ - minor improvements
252
+ - [Improve documentation of ssl_ca_file, ssl_ca_path](https://github.com/jnunemaker/httparty/pull/223)
253
+ - [Fix example URLs](https://github.com/jnunemaker/httparty/pull/232)
162
254
 
163
255
  ## 0.11.0 2013-04-10
164
- * new
165
- * [Add COPY http request handling](https://github.com/jnunemaker/httparty/pull/190)
166
- * [Ruby 2.0 tests](https://github.com/jnunemaker/httparty/pull/194)
167
- * [Ruby >= 2.0.0 support both multiple_choice? and multiple_choices?]
168
- * bug fix
169
- * [Maintain blocks passed to 'perform' in redirects](https://github.com/jnunemaker/httparty/pull/191)
170
- * [Fixed nc value being quoted, this was against spec](https://github.com/jnunemaker/httparty/pull/196)
171
- * [Request#uri no longer duplicates non-relative-path params](https://github.com/jnunemaker/httparty/pull/189)
172
- * change
173
- * [Client-side-only cookie attributes are removed: case-insensitive](https://github.com/jnunemaker/httparty/pull/188)
256
+
257
+ - new
258
+ - [Add COPY http request handling](https://github.com/jnunemaker/httparty/pull/190)
259
+ - [Ruby 2.0 tests](https://github.com/jnunemaker/httparty/pull/194)
260
+ - [Ruby >= 2.0.0 support both multiple_choice? and multiple_choices?]
261
+ - bug fix
262
+ - [Maintain blocks passed to 'perform' in redirects](https://github.com/jnunemaker/httparty/pull/191)
263
+ - [Fixed nc value being quoted, this was against spec](https://github.com/jnunemaker/httparty/pull/196)
264
+ - [Request#uri no longer duplicates non-relative-path params](https://github.com/jnunemaker/httparty/pull/189)
265
+ - change
266
+ - [Client-side-only cookie attributes are removed: case-insensitive](https://github.com/jnunemaker/httparty/pull/188)
174
267
 
175
268
  ## 0.10.2 2013-01-26
176
- * bug fix
177
- * [hash_conversions misnamed variable](https://github.com/jnunemaker/httparty/pull/187)
269
+
270
+ - bug fix
271
+ - [hash_conversions misnamed variable](https://github.com/jnunemaker/httparty/pull/187)
178
272
 
179
273
  ## 0.10.1 2013-01-26
180
- * new
181
- * [Added support for MOVE requests](https://github.com/jnunemaker/httparty/pull/183)
182
- * [Bump multi xml version](https://github.com/jnunemaker/httparty/pull/181)
274
+
275
+ - new
276
+ - [Added support for MOVE requests](https://github.com/jnunemaker/httparty/pull/183)
277
+ - [Bump multi xml version](https://github.com/jnunemaker/httparty/pull/181)
183
278
 
184
279
  ## 0.10.0 2013-01-10
185
- * changes
186
- * removed yaml support because of security risk (see rails yaml issues)
280
+
281
+ - changes
282
+ - removed yaml support because of security risk (see rails yaml issues)
187
283
 
188
284
  ## 0.9.0 2012-09-07
189
- * new
190
- * [support for connection adapters](https://github.com/jnunemaker/httparty/pull/157)
191
- * [allow ssl_version on ruby 1.9](https://github.com/jnunemaker/httparty/pull/159)
192
- * bug fixes
193
- * [don't treat port 4430 as ssl](https://github.com/jnunemaker/httparty/commit/a296b1c97f83d7dcc6ef85720a43664c265685ac)
194
- * [deep clone default options](https://github.com/jnunemaker/httparty/commit/f74227d30f9389b4b23a888c9af49fb9b8248e1f)
195
- * a few net digest auth fixes
285
+
286
+ - new
287
+ - [support for connection adapters](https://github.com/jnunemaker/httparty/pull/157)
288
+ - [allow ssl_version on ruby 1.9](https://github.com/jnunemaker/httparty/pull/159)
289
+ - bug fixes
290
+ - [don't treat port 4430 as ssl](https://github.com/jnunemaker/httparty/commit/a296b1c97f83d7dcc6ef85720a43664c265685ac)
291
+ - [deep clone default options](https://github.com/jnunemaker/httparty/commit/f74227d30f9389b4b23a888c9af49fb9b8248e1f)
292
+ - a few net digest auth fixes
196
293
 
197
294
  ## 0.8.3 2012-04-21
198
- * new
199
- * [lazy parsing of responses](https://github.com/jnunemaker/httparty/commit/9fd5259c8dab00e426082b66af44ede2c9068f45)
200
- * [add support for PATCH requests](https://github.com/jnunemaker/httparty/commit/7ab6641e37a9e31517e46f6124f38c615395d38a)
201
- * bug fixes
202
- * [subclasses no longer override superclass options](https://github.com/jnunemaker/httparty/commit/682af8fbf672e7b3009e650da776c85cdfe78d39)
295
+
296
+ - new
297
+ - [lazy parsing of responses](https://github.com/jnunemaker/httparty/commit/9fd5259c8dab00e426082b66af44ede2c9068f45)
298
+ - [add support for PATCH requests](https://github.com/jnunemaker/httparty/commit/7ab6641e37a9e31517e46f6124f38c615395d38a)
299
+ - bug fixes
300
+ - [subclasses no longer override superclass options](https://github.com/jnunemaker/httparty/commit/682af8fbf672e7b3009e650da776c85cdfe78d39)
203
301
 
204
302
  ## 0.8.2 2012-04-12
205
- * new
206
- * add -r to make CLI return failure code if status >= 400
207
- * allow blank username from CLI
208
- * bug fixes
209
- * return nil for null body
210
- * automatically deflate responses with a Content-Encoding: x-gzip header
211
- * Do not HEAD on POST request with digest authentication
212
- * add support for proxy authentication
213
- * fix posting data with CLI
214
- * require rexml/document if xml format from CLI
215
- * support for fragmented responses
303
+
304
+ - new
305
+ - add -r to make CLI return failure code if status >= 400
306
+ - allow blank username from CLI
307
+ - bug fixes
308
+ - return nil for null body
309
+ - automatically deflate responses with a Content-Encoding: x-gzip header
310
+ - Do not HEAD on POST request with digest authentication
311
+ - add support for proxy authentication
312
+ - fix posting data with CLI
313
+ - require rexml/document if xml format from CLI
314
+ - support for fragmented responses
216
315
 
217
316
  ## 0.8.1 2011-10-05
218
- * bug fixes
219
- * content-encoding header should be removed when automatically inflating the body
317
+
318
+ - bug fixes
319
+ - content-encoding header should be removed when automatically inflating the body
220
320
 
221
321
  ## 0.8.0 2011-09-13
222
- * new
223
- * switch to multi json/xml for parsing by default
224
- * bug fixes
225
- * fix redirects to relative uri's
322
+
323
+ - new
324
+ - switch to multi json/xml for parsing by default
325
+ - bug fixes
326
+ - fix redirects to relative uri's
226
327
 
227
328
  ## 0.7.8 2011-06-06
228
- * bug fix
229
- * Make response honor respond to
230
- * net http timeout can also be a float
329
+
330
+ - bug fix
331
+ - Make response honor respond to
332
+ - net http timeout can also be a float
231
333
 
232
334
  ## 0.7.7 2011-04-16
233
- * bug fix
234
- * Fix NoMethodError when using the NON_RAILS_QUERY_STRING_NORMALIZER with a hash whose key is a symbol and value is nil
335
+
336
+ - bug fix
337
+ - Fix NoMethodError when using the NON_RAILS_QUERY_STRING_NORMALIZER with a hash whose key is a symbol and value is nil
235
338
 
236
339
  ## 0.7.5 2011-04-16
237
- * bug fix
238
- * caused issue with latest rubygems
340
+
341
+ - bug fix
342
+ - caused issue with latest rubygems
239
343
 
240
344
  ## 0.7.4 2011-02-13
241
- * bug fixes
242
- * Set VERIFY_NONE when using https. Ruby 1.9.2 no longer sets this for us. gh-67
345
+
346
+ - bug fixes
347
+ - Set VERIFY_NONE when using https. Ruby 1.9.2 no longer sets this for us. gh-67
243
348
 
244
349
  ## 0.7.3 2011-01-20
245
- * bug fixes
246
- * Fix digest auth for unspecified quality of protection (bjoernalbers, mtrudel, dwo)
350
+
351
+ - bug fixes
352
+ - Fix digest auth for unspecified quality of protection (bjoernalbers, mtrudel, dwo)
247
353
 
248
354
  ## 0.7.2 2011-01-20
249
- * bug fixes
250
- * Fix gem dependencies
355
+
356
+ - bug fixes
357
+ - Fix gem dependencies
251
358
 
252
359
  ## 0.7.1 2011-01-19
253
- * bug fixes
254
- * Fix uninitialized constant HTTParty::Response::Net in 1.9.2 (cap10morgan)
255
- * Other fixes for 1.9.2, full suite still fails (cap10morgan)
360
+
361
+ - bug fixes
362
+ - Fix uninitialized constant HTTParty::Response::Net in 1.9.2 (cap10morgan)
363
+ - Other fixes for 1.9.2, full suite still fails (cap10morgan)
256
364
 
257
365
  ## 0.7.0 2011-01-18
258
- * minor enhancements
259
- * Added query methods for HTTP status codes, i.e. response.success?
366
+
367
+ - minor enhancements
368
+ - Added query methods for HTTP status codes, i.e. response.success?
260
369
  response.created? (thanks citizenparker)
261
- * Added support for ssl_ca_file and ssl_ca_path (dlitz)
262
- * Allow custom query string normalization. gh-8
263
- * Unlock private keys with password (freerange)
264
- * Added high level request documentation (phildarnowsky)
265
- * Added basic post example (pbuckley)
266
- * Response object has access to its corresponding request object
267
- * Added example of siginin into tripit.com
268
- * Added option to follow redirects (rkj). gh-56
269
- * bug fixes
270
- * Fixed superclass mismatch exception while running tests
370
+ - Added support for ssl_ca_file and ssl_ca_path (dlitz)
371
+ - Allow custom query string normalization. gh-8
372
+ - Unlock private keys with password (freerange)
373
+ - Added high level request documentation (phildarnowsky)
374
+ - Added basic post example (pbuckley)
375
+ - Response object has access to its corresponding request object
376
+ - Added example of siginin into tripit.com
377
+ - Added option to follow redirects (rkj). gh-56
378
+ - bug fixes
379
+ - Fixed superclass mismatch exception while running tests
271
380
  (thanks dlitz http://github.com/dlitz/httparty/commit/48224f0615b32133afcff4718ad426df7a4b401b)
272
381
 
273
382
  ## 0.6.1 2010-07-07
274
- * minor enhancements
275
- * updated to crack 0.1.8
276
- * bug fixes
277
- * subclasses always merge into the parent's default_options and
278
- default_cookies (l4rk).
279
- * subclasses play nicely with grand parents. gh-49
383
+
384
+ - minor enhancements
385
+ - updated to crack 0.1.8
386
+ - bug fixes
387
+ - subclasses always merge into the parent's default_options and
388
+ default_cookies (l4rk).
389
+ - subclasses play nicely with grand parents. gh-49
280
390
 
281
391
  ## 0.6.0 2010-06-13
282
- * major enhancements
283
- * Digest Auth (bartiaco, sbecker, gilles, and aaronrussell)
284
- * Maintain HTTP method across redirects (bartiaco and sbecker)
285
- * HTTParty::Response#response returns the Net::HTTPResponse object
286
- * HTTParty::Response#headers returns a HTTParty::Response::Headers object
392
+
393
+ - major enhancements
394
+
395
+ - Digest Auth (bartiaco, sbecker, gilles, and aaronrussell)
396
+ - Maintain HTTP method across redirects (bartiaco and sbecker)
397
+ - HTTParty::Response#response returns the Net::HTTPResponse object
398
+ - HTTParty::Response#headers returns a HTTParty::Response::Headers object
287
399
  which quacks like a Hash + Net::HTTPHeader. The #headers method continues
288
400
  to be backwards-compatible with the old Hash return value but may become
289
401
  deprecated in the future.
290
402
 
291
- * minor enhancements
292
- * Update crack requirement to version 0.1.7
403
+ - minor enhancements
404
+ - Update crack requirement to version 0.1.7
293
405
  You may still get a warning because Crack's version constant is out of date
294
- * Timeout option can be set for all requests using HTTParty.default_timeout (taazza)
295
- * Closed #38 "headers hash should downcase keys so canonical header name can be used"
296
- * Closed #40 "Gzip response" wherein gziped and deflated responses are
406
+ - Timeout option can be set for all requests using HTTParty.default_timeout (taazza)
407
+ - Closed #38 "headers hash should downcase keys so canonical header name can be used"
408
+ - Closed #40 "Gzip response" wherein gziped and deflated responses are
297
409
  automatically inflated. (carsonmcdonald)
298
410
 
299
411
  ## 0.5.2 2010-01-31
300
- * minor enhancements
301
- * Update crack requirement to version 0.1.6
412
+
413
+ - minor enhancements
414
+ - Update crack requirement to version 0.1.6
302
415
 
303
416
  ## 0.5.1 2010-01-30
304
- * bug fixes
305
- * Handle 304 response correctly by returning the HTTParty::Response object instead of redirecting (seth and hellvinz)
306
- * Only redirect 300 responses if the header contains a Location
307
- * Don't append empty query strings to the uri. Closes #31
308
- * When no_follow is enabled, only raise the RedirectionTooDeep exception when a response tries redirecting. Closes #28
309
-
310
- * major enhancements
311
- * Removed rubygems dependency. I suggest adding rubygems to RUBYOPT if this causes problems for you.
417
+
418
+ - bug fixes
419
+
420
+ - Handle 304 response correctly by returning the HTTParty::Response object instead of redirecting (seth and hellvinz)
421
+ - Only redirect 300 responses if the header contains a Location
422
+ - Don't append empty query strings to the uri. Closes #31
423
+ - When no_follow is enabled, only raise the RedirectionTooDeep exception when a response tries redirecting. Closes #28
424
+
425
+ - major enhancements
426
+
427
+ - Removed rubygems dependency. I suggest adding rubygems to RUBYOPT if this causes problems for you.
312
428
  $ export RUBYOPT='rubygems'
313
- * HTTParty#debug_output prints debugging information for the current request (iwarshak)
314
- * HTTParty#no_follow now available as a class-level option. Sets whether or not to follow redirects.
429
+ - HTTParty#debug_output prints debugging information for the current request (iwarshak)
430
+ - HTTParty#no_follow now available as a class-level option. Sets whether or not to follow redirects.
315
431
 
316
- * minor enhancements
317
- * HTTParty::VERSION now available
318
- * Update crack requirement to version 0.1.5
432
+ - minor enhancements
433
+ - HTTParty::VERSION now available
434
+ - Update crack requirement to version 0.1.5
319
435
 
320
436
  ## 0.5.0 2009-12-07
321
- * bug fixes
322
- * inheritable attributes no longer mutable by subclasses (yyyc514)
323
- * namespace BasicObject within HTTParty to avoid class name collisions (eric)
324
437
 
325
- * major enhancements
326
- * Custom Parsers via class or proc
327
- * Deprecation warning on HTTParty::AllowedFormats
438
+ - bug fixes
439
+
440
+ - inheritable attributes no longer mutable by subclasses (yyyc514)
441
+ - namespace BasicObject within HTTParty to avoid class name collisions (eric)
442
+
443
+ - major enhancements
444
+
445
+ - Custom Parsers via class or proc
446
+ - Deprecation warning on HTTParty::AllowedFormats
328
447
  moved to HTTParty::Parser::SupportedFormats
329
448
 
330
- * minor enhancements
331
- * Curl inspired output when using the binary in verbose mode (alexvollmer)
332
- * raise UnsupportedURIScheme when scheme is not HTTP or HTTPS (djspinmonkey)
333
- * Allow SSL for ports other than 443 when scheme is HTTPS (stefankroes)
334
- * Accept PEM certificates via HTTParty#pem (chrislo)
335
- * Support HEAD and OPTION verbs (grempe)
336
- * Verify SSL certificates when providing a PEM file (collectiveidea/danielmorrison)
449
+ - minor enhancements
450
+ - Curl inspired output when using the binary in verbose mode (alexvollmer)
451
+ - raise UnsupportedURIScheme when scheme is not HTTP or HTTPS (djspinmonkey)
452
+ - Allow SSL for ports other than 443 when scheme is HTTPS (stefankroes)
453
+ - Accept PEM certificates via HTTParty#pem (chrislo)
454
+ - Support HEAD and OPTION verbs (grempe)
455
+ - Verify SSL certificates when providing a PEM file (collectiveidea/danielmorrison)
337
456
 
338
457
  ## 0.4.5 2009-09-12
339
- * bug fixes
340
- * Fixed class-level headers overwritten by cookie management code. Closes #19
341
- * Fixed "superclass mismatch for class BlankSlate" error. Closes #20
342
- * Fixed reading files as post data from the command line (vesan)
343
458
 
344
- * minor enhancements
345
- * Timeout option added; will raise a Timeout::Error after the timeout has elapsed (attack). Closes #17
459
+ - bug fixes
460
+
461
+ - Fixed class-level headers overwritten by cookie management code. Closes #19
462
+ - Fixed "superclass mismatch for class BlankSlate" error. Closes #20
463
+ - Fixed reading files as post data from the command line (vesan)
464
+
465
+ - minor enhancements
466
+ - Timeout option added; will raise a Timeout::Error after the timeout has elapsed (attack). Closes #17
346
467
  HTTParty.get "http://github.com", timeout: 1
347
- * Building gem with Jeweler
468
+ - Building gem with Jeweler
348
469
 
349
470
  ## 0.4.4 2009-07-19
350
- * 2 minor update
351
- * :query no longer sets form data. Use body and set content type to application/x-www-form-urlencoded if you need it. :query was wrong for that.
352
- * Fixed a bug in the cookies class method that caused cookies to be forgotten after the first request.
353
- * Also, some general cleanup of tests and such.
471
+
472
+ - 2 minor update
473
+ - :query no longer sets form data. Use body and set content type to application/x-www-form-urlencoded if you need it. :query was wrong for that.
474
+ - Fixed a bug in the cookies class method that caused cookies to be forgotten after the first request.
475
+ - Also, some general cleanup of tests and such.
354
476
 
355
477
  ## 0.4.3 2009-04-23
356
- * 1 minor update
357
- * added message to the response object
478
+
479
+ - 1 minor update
480
+ - added message to the response object
358
481
 
359
482
  ## 0.4.2 2009-03-30
360
- * 2 minor changes
361
- * response code now returns an integer instead of a string (jqr)
362
- * rubyforge project setup for crack so i'm now depending on that instead of jnunemaker-crack
483
+
484
+ - 2 minor changes
485
+ - response code now returns an integer instead of a string (jqr)
486
+ - rubyforge project setup for crack so i'm now depending on that instead of jnunemaker-crack
363
487
 
364
488
  ## 0.4.1 2009-03-29
365
- * 1 minor fix
366
- * gem 'jnunemaker-crack' instead of gem 'crack'
489
+
490
+ - 1 minor fix
491
+ - gem 'jnunemaker-crack' instead of gem 'crack'
367
492
 
368
493
  ## 0.4.0 2009-03-29
369
- * 1 minor change
370
- * Switched xml and json parsing to crack (same code as before just moved to gem for easier reuse in other projects)
494
+
495
+ - 1 minor change
496
+ - Switched xml and json parsing to crack (same code as before just moved to gem for easier reuse in other projects)
371
497
 
372
498
  ## 0.3.1 2009-02-10
373
- * 1 minor fix, 1 minor enhancement
374
- * Fixed unescaping umlauts (siebertm)
375
- * Added yaml response parsing (Miha Filej)
499
+
500
+ - 1 minor fix, 1 minor enhancement
501
+ - Fixed unescaping umlauts (siebertm)
502
+ - Added yaml response parsing (Miha Filej)
376
503
 
377
504
  ## 0.3.0 2009-01-31
378
- * 1 major enhancement, 1 bug fix
379
- * JSON gem no longer a requirement. It was conflicting with rails json stuff so I just stole ActiveSupport's json decoding and bundled it with HTTParty.
380
- * Fixed bug where query strings were being duplicated on redirects
381
- * Added a bunch of specs and moved some code around.
505
+
506
+ - 1 major enhancement, 1 bug fix
507
+ - JSON gem no longer a requirement. It was conflicting with rails json stuff so I just stole ActiveSupport's json decoding and bundled it with HTTParty.
508
+ - Fixed bug where query strings were being duplicated on redirects
509
+ - Added a bunch of specs and moved some code around.
382
510
 
383
511
  ## 0.2.10 2009-01-29
384
- * 1 minor enhancement
385
- * Made encoding on query parameters treat everything except URI::PATTERN::UNRESERVED as UNSAFE to force encoding of '+' character (Julian Russell)
512
+
513
+ - 1 minor enhancement
514
+ - Made encoding on query parameters treat everything except URI::PATTERN::UNRESERVED as UNSAFE to force encoding of '+' character (Julian Russell)
386
515
 
387
516
  ## 0.2.9 2009-01-29
388
- * 3 minor enhancements
389
- * Added a 'headers' accessor to the response with a hash of any HTTP headers. (Don Peterson)
390
- * Add support for a ":cookies" option to be used at the class level, or as an option on any individual call. It should be passed a hash, which will be converted to the proper format and added to the request headers when the call is made. (Don Peterson)
391
- * Refactored several specs and added a full suite of cucumber features (Don Peterson)
517
+
518
+ - 3 minor enhancements
519
+ - Added a 'headers' accessor to the response with a hash of any HTTP headers. (Don Peterson)
520
+ - Add support for a ":cookies" option to be used at the class level, or as an option on any individual call. It should be passed a hash, which will be converted to the proper format and added to the request headers when the call is made. (Don Peterson)
521
+ - Refactored several specs and added a full suite of cucumber features (Don Peterson)
392
522
 
393
523
  ## 0.2.8 2009-01-28
394
- * 1 major fix
395
- * fixed major bug with response where it wouldn't iterate or really work at all with parsed responses
524
+
525
+ - 1 major fix
526
+ - fixed major bug with response where it wouldn't iterate or really work at all with parsed responses
396
527
 
397
528
  ## 0.2.7 2009-01-28
398
- * 2 minor fixes, 2 minor enhancements, 2 major enhancements
399
- * fixed undefined method add_node for nil class error that occasionally happened (juliocesar)
400
- * Handle nil or unexpected values better when typecasting. (Brian Landau)
401
- * More robust handling of mime types (Alex Vollmer)
402
- * Fixed support for specifying headers and added support for basic auth to CLI. (Alex Vollmer)
403
- * Added first class response object that includes original body and status code (Alex Vollmer)
404
- * Now parsing all response types as some non-200 responses provide important information, this means no more exception raising (Alex Vollmer)
529
+
530
+ - 2 minor fixes, 2 minor enhancements, 2 major enhancements
531
+ - fixed undefined method add_node for nil class error that occasionally happened (juliocesar)
532
+ - Handle nil or unexpected values better when typecasting. (Brian Landau)
533
+ - More robust handling of mime types (Alex Vollmer)
534
+ - Fixed support for specifying headers and added support for basic auth to CLI. (Alex Vollmer)
535
+ - Added first class response object that includes original body and status code (Alex Vollmer)
536
+ - Now parsing all response types as some non-200 responses provide important information, this means no more exception raising (Alex Vollmer)
405
537
 
406
538
  ## 0.2.6 2009-01-05
407
- * 1 minor bug fix
408
- * added explicit require of time as Time#parse failed outside of rails (willcodeforfoo)
539
+
540
+ - 1 minor bug fix
541
+ - added explicit require of time as Time#parse failed outside of rails (willcodeforfoo)
409
542
 
410
543
  ## 0.2.5 2009-01-05
411
- * 1 major enhancement
412
- * Add command line interface to HTTParty (Alex Vollmer)
544
+
545
+ - 1 major enhancement
546
+ - Add command line interface to HTTParty (Alex Vollmer)
413
547
 
414
548
  ## 0.2.4 2008-12-23
415
- * 1 bug fix
416
- * Fixed that mimetype detection was failing if no mimetype was returned from service (skippy)
549
+
550
+ - 1 bug fix
551
+ - Fixed that mimetype detection was failing if no mimetype was returned from service (skippy)
552
+
417
553
  ## 0.2.3 2008-12-23
418
- * 1 bug fix
419
- * Fixed typecasting class variable naming issue
554
+
555
+ - 1 bug fix
556
+ - Fixed typecasting class variable naming issue
420
557
 
421
558
  ## 0.2.2 2008-12-08
422
- * 1 bug fix
423
- * Added the missing core extension hash method to_xml_attributes
559
+
560
+ - 1 bug fix
561
+ - Added the missing core extension hash method to_xml_attributes
424
562
 
425
563
  ## 0.2.1 2008-12-08
426
- * 1 bug fix
427
- * Fixed that HTTParty was borking ActiveSupport and as such Rails (thanks to Rob Sanheim)
564
+
565
+ - 1 bug fix
566
+ - Fixed that HTTParty was borking ActiveSupport and as such Rails (thanks to Rob Sanheim)
428
567
 
429
568
  ## 0.2.0 2008-12-07
430
- * 1 major enhancement
431
- * Removed ActiveSupport as a dependency. Now requires json gem for json deserialization and uses an included class to do the xml parsing.
569
+
570
+ - 1 major enhancement
571
+ - Removed ActiveSupport as a dependency. Now requires json gem for json deserialization and uses an included class to do the xml parsing.
432
572
 
433
573
  ## 0.1.8 2008-11-30
434
- * 3 major enhancements
435
- * Moved base_uri normalization into request class and out of httparty module, fixing
574
+
575
+ - 3 major enhancements
576
+ - Moved base_uri normalization into request class and out of httparty module, fixing
436
577
  the problem where base_uri was not always being normalized.
437
- * Stupid simple support for HTTParty.get/post/put/delete. (jqr)
438
- * Switched gem management to Echoe from newgem.
578
+ - Stupid simple support for HTTParty.get/post/put/delete. (jqr)
579
+ - Switched gem management to Echoe from newgem.
439
580
 
440
581
  ## 0.1.7 2008-11-30
441
- * 1 major enhancement
442
- * fixed multiple class definitions overriding each others options
582
+
583
+ - 1 major enhancement
584
+ - fixed multiple class definitions overriding each others options
443
585
 
444
586
  ## 0.1.6 2008-11-26
445
- * 1 major enhancement
446
- * now passing :query to set_form_data if post request to avoid content length errors
587
+
588
+ - 1 major enhancement
589
+ - now passing :query to set_form_data if post request to avoid content length errors
447
590
 
448
591
  ## 0.1.5 2008-11-14
449
- * 2 major enhancements
450
- * Refactored send request method out into its own object.
451
- * Added :html format if you just want to do that.
592
+
593
+ - 2 major enhancements
594
+ - Refactored send request method out into its own object.
595
+ - Added :html format if you just want to do that.
452
596
 
453
597
  ## 0.1.4 2008-11-08
454
- * 3 major enhancements:
455
- * Removed some cruft
456
- * Added ability to follow redirects automatically and turn that off (Alex Vollmer)
598
+
599
+ - 3 major enhancements:
600
+ - Removed some cruft
601
+ - Added ability to follow redirects automatically and turn that off (Alex Vollmer)
457
602
 
458
603
  ## 0.1.3 2008-08-22
459
604
 
460
- * 3 major enhancements:
461
- * Added http_proxy key for setting proxy server and port (francxk@gmail.com)
462
- * Now raises exception when http error occurs (francxk@gmail.com)
463
- * Changed auto format detection from file extension to response content type (Jay Pignata)
605
+ - 3 major enhancements:
606
+ - Added http_proxy key for setting proxy server and port (francxk@gmail.com)
607
+ - Now raises exception when http error occurs (francxk@gmail.com)
608
+ - Changed auto format detection from file extension to response content type (Jay Pignata)
464
609
 
465
610
  ## 0.1.2 2008-08-09
466
611
 
467
- * 1 major enhancement:
468
- * default_params were not being appended to query string if option[:query] was blank
612
+ - 1 major enhancement:
613
+ - default_params were not being appended to query string if option[:query] was blank
469
614
 
470
615
  ## 0.1.1 2008-07-30
471
616
 
472
- * 2 major enhancement:
473
- * Added :basic_auth key for options when making a request
474
- * :query and :body both now work with query string or hash
617
+ - 2 major enhancement:
618
+ - Added :basic_auth key for options when making a request
619
+ - :query and :body both now work with query string or hash
475
620
 
476
621
  ## 0.1.0 2008-07-27
477
622
 
478
- * 1 major enhancement:
479
- * Initial release
623
+ - 1 major enhancement:
624
+ - Initial release