Sha256: d1af3d836c195d518e2817def95cf82d0bc412a55ae1a8e181f84325e5ac581c
Contents?: true
Size: 498 Bytes
Versions: 2
Compression:
Stored size: 498 Bytes
Contents
class HTTPBaseAdapter def initialize(host, port, path, headers, data, params, protocol = 'http') @host = host @port = port @path = path @headers = headers @data = data @params = params @protocol = protocol end def logs_data? true end def parse_uri URI.parse("#{@protocol}://#{@host}:#{@port}#{@path}") end def expected_response_body "\n<html>" end def self.is_libcurl? false end def self.should_log_headers? true end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
httplog-1.0.2 | spec/adapters/http_base_adapter.rb |
httplog-1.0.1 | spec/adapters/http_base_adapter.rb |