├── .autotest ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── .rspec ├── .travis.yml ├── .yardopts ├── CHANGELOG.md ├── Gemfile ├── LICENSE ├── README.md ├── Rakefile ├── ext └── patron │ ├── .gitignore │ ├── extconf.rb │ ├── membuffer.c │ ├── membuffer.h │ ├── session_ext.c │ └── sglib.h ├── lib ├── patron.rb └── patron │ ├── error.rb │ ├── header_parser.rb │ ├── proxy_type.rb │ ├── request.rb │ ├── response.rb │ ├── response_decoding.rb │ ├── session.rb │ ├── util.rb │ └── version.rb ├── patron.gemspec ├── pic.png ├── script ├── console └── test_server └── spec ├── header_parser_spec.rb ├── patron_spec.rb ├── request_spec.rb ├── response_spec.rb ├── sample_response_headers ├── headers_wetransfer.txt ├── headers_wetransfer_with_proxy_status.txt ├── headers_wetransfer_with_redirect.txt ├── headers_with_set_cookie.txt ├── sample_http2_header.txt └── webmock_headers_without_trailing_crlf.txt ├── session_spec.rb ├── session_ssl_spec.rb ├── spec_helper.rb ├── support ├── certs │ ├── cacert.pem │ └── privkey.pem ├── config.ru ├── fork.rb └── test_server.rb └── util_spec.rb /.autotest: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/.autotest -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/.travis.yml -------------------------------------------------------------------------------- /.yardopts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/.yardopts -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/Rakefile -------------------------------------------------------------------------------- /ext/patron/.gitignore: -------------------------------------------------------------------------------- 1 | *.bundle 2 | *.o 3 | mkmf.log 4 | Makefile 5 | -------------------------------------------------------------------------------- /ext/patron/extconf.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/ext/patron/extconf.rb -------------------------------------------------------------------------------- /ext/patron/membuffer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/ext/patron/membuffer.c -------------------------------------------------------------------------------- /ext/patron/membuffer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/ext/patron/membuffer.h -------------------------------------------------------------------------------- /ext/patron/session_ext.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/ext/patron/session_ext.c -------------------------------------------------------------------------------- /ext/patron/sglib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/ext/patron/sglib.h -------------------------------------------------------------------------------- /lib/patron.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/lib/patron.rb -------------------------------------------------------------------------------- /lib/patron/error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/lib/patron/error.rb -------------------------------------------------------------------------------- /lib/patron/header_parser.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/lib/patron/header_parser.rb -------------------------------------------------------------------------------- /lib/patron/proxy_type.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/lib/patron/proxy_type.rb -------------------------------------------------------------------------------- /lib/patron/request.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/lib/patron/request.rb -------------------------------------------------------------------------------- /lib/patron/response.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/lib/patron/response.rb -------------------------------------------------------------------------------- /lib/patron/response_decoding.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/lib/patron/response_decoding.rb -------------------------------------------------------------------------------- /lib/patron/session.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/lib/patron/session.rb -------------------------------------------------------------------------------- /lib/patron/util.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/lib/patron/util.rb -------------------------------------------------------------------------------- /lib/patron/version.rb: -------------------------------------------------------------------------------- 1 | module Patron 2 | VERSION = "0.13.4" 3 | end 4 | -------------------------------------------------------------------------------- /patron.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/patron.gemspec -------------------------------------------------------------------------------- /pic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/pic.png -------------------------------------------------------------------------------- /script/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/script/console -------------------------------------------------------------------------------- /script/test_server: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/script/test_server -------------------------------------------------------------------------------- /spec/header_parser_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/spec/header_parser_spec.rb -------------------------------------------------------------------------------- /spec/patron_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/spec/patron_spec.rb -------------------------------------------------------------------------------- /spec/request_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/spec/request_spec.rb -------------------------------------------------------------------------------- /spec/response_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/spec/response_spec.rb -------------------------------------------------------------------------------- /spec/sample_response_headers/headers_wetransfer.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/spec/sample_response_headers/headers_wetransfer.txt -------------------------------------------------------------------------------- /spec/sample_response_headers/headers_wetransfer_with_proxy_status.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/spec/sample_response_headers/headers_wetransfer_with_proxy_status.txt -------------------------------------------------------------------------------- /spec/sample_response_headers/headers_wetransfer_with_redirect.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/spec/sample_response_headers/headers_wetransfer_with_redirect.txt -------------------------------------------------------------------------------- /spec/sample_response_headers/headers_with_set_cookie.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/spec/sample_response_headers/headers_with_set_cookie.txt -------------------------------------------------------------------------------- /spec/sample_response_headers/sample_http2_header.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/spec/sample_response_headers/sample_http2_header.txt -------------------------------------------------------------------------------- /spec/sample_response_headers/webmock_headers_without_trailing_crlf.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/spec/sample_response_headers/webmock_headers_without_trailing_crlf.txt -------------------------------------------------------------------------------- /spec/session_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/spec/session_spec.rb -------------------------------------------------------------------------------- /spec/session_ssl_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/spec/session_ssl_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/support/certs/cacert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/spec/support/certs/cacert.pem -------------------------------------------------------------------------------- /spec/support/certs/privkey.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/spec/support/certs/privkey.pem -------------------------------------------------------------------------------- /spec/support/config.ru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/spec/support/config.ru -------------------------------------------------------------------------------- /spec/support/fork.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/spec/support/fork.rb -------------------------------------------------------------------------------- /spec/support/test_server.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/spec/support/test_server.rb -------------------------------------------------------------------------------- /spec/util_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toland/patron/HEAD/spec/util_spec.rb --------------------------------------------------------------------------------