1
0
Fork 0
mirror of https://github.com/jnunemaker/httparty synced 2023-03-27 23:23:07 -04:00
Commit graph

16 commits

Author SHA1 Message Date
Narsimham Chelluri
bc551bd1f2 Made SSL connections use the system certificate store by default.
- Set http.verify_mode to OpenSSL::SSL::VERIFY_PEER by default
- Use OpenSSL::X509::Store.new as certificate store unless another is specified

Adapted from Faraday.
See: b25adc0ca6/lib/faraday/adapter/net_http.rb (L100)
2013-08-01 01:32:25 -07:00
Kenichi Kamiya
d571867afa Remove unused variable in spec
It removes below ruby's warning.

* "warning: assigned but unused variable"
2013-01-26 22:41:21 +09:00
Isaac Sanders
d51884c6fe Merge branch 'master' of github.com:isaacsanders/httparty
Conflicts:
	spec/httparty/ssl_spec.rb
	spec/support/ssl_test_helper.rb
2012-04-16 09:19:57 -05:00
John Nunemaker
9d7667ff3e Formatting cleanup. 2012-04-16 09:17:54 -05:00
John Nunemaker
355f1ddb0c Cleanup ssl test helper. 2012-04-16 09:13:07 -05:00
John Nunemaker
4e6f2eb372 Formatting cleanup. 2012-04-16 09:13:06 -05:00
John Nunemaker
a48790f05c Convert pathname to string. 2012-04-16 00:18:41 -04:00
John Nunemaker
9003387a00 More ssl test helper cleanup. 2012-04-15 23:29:36 -04:00
John Nunemaker
cb79fe9ce5 Cleanup ssl test helper. 2012-04-15 23:13:48 -04:00
John Nunemaker
c0f0dc0e7b Formatting cleanup. 2012-04-15 22:51:39 -04:00
Fabio Kreusch
19a9494eed Adds support for fragmented responses 2012-02-15 17:46:01 -02:00
Sandro Turriate
7ea359d0eb Refactor redirection handling
Closes gh-56
2011-01-18 16:19:45 -05:00
Sandro Turriate
e9f8739b63 Cleanup 2011-01-18 15:42:18 -05:00
Dwayne Litzenberger
f9c74788d5 Add ssl_ca_file and ssl_ca_path options to allow SSL certificate verification. 2010-07-19 08:44:52 -04:00
Sandro Turriate
05dcf3b479 Fix ruby warnings 2010-05-08 00:43:36 -04:00
Sandro Turriate
e6e5990497 Encapsulate spec helper methods into a module
It's a good idea to encapsulate methods rather than have them hanging
around in global scope.
2010-01-29 15:20:48 -05:00