# File src/ruby_supportlib/phusion_passenger/vendor/union_station_hooks_core/lib/union_station_hooks_core/spec_helper.rb, line 169
    def return_200_response_body(path, response)
      if response.code == '200'
        response.body
      else
        raise "HTTP request to #{path} failed.\n" \
          "Code: #{response.code}\n" \
          "Body:\n" \
          "#{response.body}"
      end
    end