Changeset 1596
- Timestamp:
- 07/24/05 23:57:59 (3 years ago)
- Files:
-
- trunk/lib/soap/generator.rb (modified) (1 diff)
- trunk/lib/soap/mimemessage.rb (modified) (1 diff)
- trunk/lib/soap/rpc/driver.rb (modified) (1 diff)
- trunk/lib/soap/streamHandler.rb (modified) (1 diff)
- trunk/lib/soap/wsdlDriver.rb (modified) (1 diff)
- trunk/lib/xsd/charset.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/soap/generator.rb
r1587 r1596 33 33 @reftarget = nil 34 34 @handlers = {} 35 @charset = opt[:charset] || XSD::Charset. encoding_label35 @charset = opt[:charset] || XSD::Charset.xml_encoding_label 36 36 @default_encodingstyle = opt[:default_encodingstyle] || EncodingNamespace 37 37 @generate_explicit_type = trunk/lib/soap/mimemessage.rb
r1520 r1596 198 198 part = Part.new 199 199 part.headers.add("Content-Type", 200 "text/xml; charset=" + XSD::Charset. encoding_label)200 "text/xml; charset=" + XSD::Charset.xml_encoding_label) 201 201 part.headers.add("Content-ID", Attachment.contentid(part)) 202 202 part.body = content trunk/lib/soap/rpc/driver.rb
r1540 r1596 205 205 @wiredump_file_base = value 206 206 end 207 opt["protocol.http.charset"] ||= XSD::Charset. encoding_label207 opt["protocol.http.charset"] ||= XSD::Charset.xml_encoding_label 208 208 opt["protocol.http.proxy"] ||= Env::HTTP_PROXY 209 209 opt["protocol.http.no_proxy"] ||= Env::NO_PROXY trunk/lib/soap/streamHandler.rb
r1595 r1596 122 122 def set_options 123 123 HTTPConfigLoader.set_options(@client, @options) 124 @charset = @options["charset"] || XSD::Charset. encoding_label124 @charset = @options["charset"] || XSD::Charset.xml_encoding_label 125 125 @options.add_hook("charset") do |key, value| 126 126 @charset = value trunk/lib/soap/wsdlDriver.rb
r1580 r1596 557 557 @wiredump_file_base = value 558 558 end 559 opt["protocol.http.charset"] ||= XSD::Charset. encoding_label559 opt["protocol.http.charset"] ||= XSD::Charset.xml_encoding_label 560 560 opt["protocol.http.proxy"] ||= Env::HTTP_PROXY 561 561 opt["protocol.http.no_proxy"] ||= Env::NO_PROXY trunk/lib/xsd/charset.rb
r1594 r1596 85 85 end 86 86 87 def Charset. encoding_label87 def Charset.xml_encoding_label 88 88 charset_label(@internal_encoding) 89 89 end