Loading ...
Sorry, an error occurred while loading the content.

SOAP::Transport::HTTP charset=utf-8 repeatedly appended

Expand Messages
  • rknaak05
    In SOAP::Lite 0.65 Beta 3 In certain circumstances charset= is repeated appended to the $self- http_request- content_type resulting in multiple charset=utf-8
    Message 1 of 1 , Apr 29, 2005
    • 0 Attachment
      In SOAP::Lite 0.65 Beta 3

      In certain circumstances charset= is repeated appended to the
      $self->http_request->content_type resulting in multiple charset=utf-8
      being included in the SOAP Envelope Header.

      This caused SOAP::Lite to die with a "500 short write error"



      IE: SOAP::Transport::HTTP::Client::send_receive: POST http://xxx.xxx
      HTTP/1.1
      Accept: text/xml
      Accept: multipart/*
      User-Agent: SOAP::Lite/Perl/0.65_3
      Content-Length: 659
      Content-Type: text/xml; charset=utf-8 charset=utf-8 charset=utf-8
      charset=utf-8 charset=utf-8 charset=utf-8
      SOAPAction: http://xxx.xxx


      Temporary fix was accomplish by changing
      $self->http_request->content_type($tmpType.'; charset=' .lc($encoding));

      to this

      $self->http_request->content_type($tmpType.');
    Your message has been successfully submitted and would be delivered to recipients shortly.