lib/proxy_rb/setup.rb in proxy_rb-0.10.4 vs lib/proxy_rb/setup.rb in proxy_rb-0.10.5

- old
+ new

@@ -59,9 +59,10 @@ runtime.event_bus.register( :after_resource_fetched, proc do |event| begin runtime.announcer.announce :http_response_headers, event.entity.driver.response_headers + runtime.announcer.announce :status_code, event.entity.driver.status_code rescue Capybara::NotSupportedByDriverError runtime.announcer.announce :http_response_headers, 'Message': format('Using #response_headers with the current driver "%s" is currently not supported', event.entity.driver.class) end end )