From 896fea505b67f6dd842a58c72bcd919c593d925a Mon Sep 17 00:00:00 2001 From: Leon Breedt Date: Thu, 28 Apr 2005 01:19:52 +0000 Subject: add charset=utf-8 to SOAP response content type, and make base_uri respect relative_url_root for the endpoint of SOAP messages (Shugo Maeda). if WSDL was retrieved over HTTPS, use HTTPS in the endpoint URLs as well. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1244 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionwebservice/lib/action_web_service/protocol/soap_protocol.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionwebservice/lib/action_web_service/protocol/soap_protocol.rb') diff --git a/actionwebservice/lib/action_web_service/protocol/soap_protocol.rb b/actionwebservice/lib/action_web_service/protocol/soap_protocol.rb index fde992bf9a..b3f1be2ae4 100644 --- a/actionwebservice/lib/action_web_service/protocol/soap_protocol.rb +++ b/actionwebservice/lib/action_web_service/protocol/soap_protocol.rb @@ -93,7 +93,7 @@ module ActionWebService # :nodoc: end end envelope = create_soap_envelope(response) - Response.new(SOAP::Processor.marshal(envelope), 'text/xml', return_value) + Response.new(SOAP::Processor.marshal(envelope), 'text/xml; charset=utf-8', return_value) end def protocol_client(api, protocol_name, endpoint_uri, options={}) -- cgit v1.2.3