Module: Manticore

Includes:
Facade
Defined in:
lib/manticore.rb,
lib/manticore/client.rb,
lib/manticore/cookie.rb,
lib/manticore/facade.rb,
lib/manticore/version.rb,
lib/manticore/response.rb,
lib/manticore/client/proxies.rb,
lib/manticore/stubbed_response.rb,
lib/manticore/client/trust_strategies.rb

Overview

HTTP client with the body of a lion and the head of a man. Or more simply, the power of Java with the beauty of Ruby.

Defined Under Namespace

Modules: Facade Classes: Client, ClientProtocolException, ClientStoppedException, ConnectTimeout, Cookie, InvalidArgumentException, LoggingStandardRetryHandler, ManticoreException, ResolutionFailure, Response, SocketException, SocketTimeout, StreamClosedException, StubbedResponse, Timeout, UnknownException

Constant Summary collapse

VERSION =
"0.9.0"

Class Method Summary collapse

Methods included from Facade

included

Class Method Details

.disable_httpcomponents_logging!Object



80
81
82
83
84
# File 'lib/manticore.rb', line 80

def self.disable_httpcomponents_logging!
  props = Java::JavaLang::System.properties
  props.setProperty("org.apache.commons.logging.Log", "org.apache.commons.logging.impl.SimpleLog")
  props.setProperty("org.apache.commons.logging.simplelog.log.org.apache.http", "error")
end