diff --git a/lib/rack/pact_broker/request_target.rb b/lib/rack/pact_broker/request_target.rb index edf3a82d0..d24d01f07 100644 --- a/lib/rack/pact_broker/request_target.rb +++ b/lib/rack/pact_broker/request_target.rb @@ -6,7 +6,7 @@ module RequestTarget extend self WEB_ASSET_EXTENSIONS = %w[.js .woff .woff2 .css .png .html .map .ttf .ico].freeze - API_CONTENT_TYPES = %w[application/hal+json application/json text/csv application/yaml].freeze + API_CONTENT_TYPES = %w[application/hal+json application/json text/csv application/yaml text/plain].freeze def request_for_ui?(env) !(request_for_api?(env))