examples/http_log.rb in goliath-0.9.0 vs examples/http_log.rb in goliath-0.9.1
- old
+ new
@@ -13,10 +13,9 @@
require 'em-http'
require 'em-synchrony/em-http'
require 'pp'
class HttpLog < Goliath::API
- use ::Rack::Reloader, 0 if Goliath.dev?
use Goliath::Rack::Params
def on_headers(env, headers)
env.logger.info 'proxying new request: ' + headers.inspect
env['client-headers'] = headers
\ No newline at end of file