Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

Changeset 123

Show
Ignore:
Timestamp:
06/21/01 14:53:29 (7 years ago)
Author:
nakahiro
Message:

Supported no reason-phrase HTTP server. Should it not be supported?

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/soap/streamHandler.rb

    r108 r123  
    122122Content-Length: #{ soapString.size } 
    123123Content-Type: #{ MediaType } 
     124User-Agent: SOAP4R/#{ Version } 
    124125SOAPAction: #{ action } 
    125126 
     
    151152          line = s.gets.chop 
    152153          dumpDev << line << "\n" if dumpDev 
    153           Regexp.new( '^HTTP/(1.\d)\s+(\d+)\s+(.*)$' ) =~ line 
     154          Regexp.new( '^HTTP/(1.\d)\s+(\d+)(?:\s+(.*))?$' ) =~ line 
    154155          version = $1 
    155156          status = $2