Module: Rack::PactBroker
- Defined in:
- lib/rack/pact_broker/cascade.rb,
lib/rack/pact_broker/no_auth.rb,
lib/rack/pact_broker/use_when.rb,
lib/rack/pact_broker/set_base_url.rb,
lib/rack/pact_broker/request_target.rb,
lib/rack/pact_broker/add_vary_header.rb,
lib/rack/pact_broker/add_cache_header.rb,
lib/rack/pact_broker/reset_thread_data.rb,
lib/rack/pact_broker/ui_authentication.rb,
lib/rack/pact_broker/ui_request_filter.rb,
lib/rack/pact_broker/application_context.rb,
lib/rack/pact_broker/database_transaction.rb,
lib/rack/pact_broker/invalid_uri_protection.rb,
lib/rack/pact_broker/configurable_make_it_later.rb,
lib/rack/pact_broker/add_pact_broker_version_header.rb,
lib/rack/pact_broker/convert_file_extension_to_accept_header.rb
Overview
Rack::Cascade tries a request on several apps, and returns the first response that is not 404 or 405 (or in a list of configured status codes). If all applications tried return one of the configured status codes, return the last response.
Defined Under Namespace
Modules: RequestTarget, UseWhen Classes: AddCacheHeader, AddPactBrokerVersionHeader, AddVaryHeader, ApplicationContext, Cascade, ConfigurableMakeItLater, ConvertFileExtensionToAcceptHeader, DatabaseTransaction, InvalidUriProtection, NoAuth, ResetThreadData, SetBaseUrl, UIAuthentication, UIRequestFilter