This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'socket' | |
require 'cucumber/language_support/language_methods' | |
require 'cucumber/wire_support/connection' | |
require 'cucumber/wire_support/wire_protocol' | |
require 'cucumber/wire_support/wire_packet' | |
require 'cucumber/wire_support/wire_step_definition' | |
module Cucumber | |
module EpmSupport | |
class EpmLanguage | |
include LanguageSupport::LanguageMethods |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Savon | |
class Response | |
MIME_HEADER_PART = /^\s*(\w+)\s*=\s*(["']?)(.+)\2$/ | |
def body | |
return @body if @body | |
@body = gzipped_body? ? decoded_body : @http.body | |
if @http['content-type'] =~ /^multipart\//i | |
# Parse the header to get the boundary | |
params = {} | |
@http['content-type'].split(/;/).each do |part| |