Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#153 HTTP::Message content not bytes

0.71
open
nobody
None
5
2014-10-22
2008-07-19
speleode
No

Problem occurs while trying to process a mail queue.

Had got SOAP::Lite 0.710.05
HTTP::Message content not bytes at
/usr/lib/perl5/site_perl/5.8.8/SOAP/Transport/HTTP.pm line 187

Upgrade to SOAP::Lite 0.710.08
HTTP::Message content not bytes at
/usr/lib/perl5/site_perl/5.8.8/SOAP/Transport/HTTP.pm line 194

Saw another issue #1941920 about this that was automatically closed due to a non-response. Asked about LWP::UserAgent version. I didn't have LWP::UserAgent loaded so installed v5.810. Not sure what this does but it makes no difference.

Discussion

1 2 3 4 > >> (Page 1 of 4)
  • Here's an explanation of this problem: http://www.perlmonks.org/?node_id=683833

    And here's a quick fix I made, not sure if it's 100% correct, but it works for me:

    --- /usr/local/share/perl/5.10.0/SOAP/Transport/HTTP.pm.orig 2009-02-03 11:59:43.000000000 +0100
    +++ /usr/local/share/perl/5.10.0/SOAP/Transport/HTTP.pm 2009-02-03 11:59:11.000000000 +0100
    @@ -191,7 +191,14 @@
    if !$SOAP::Constants::DO_NOT_USE_LWP_LENGTH_HACK
    && length($envelope) != $bytelength;

    - $http_request->content($envelope);
    + if( utf8::is_utf8( $envelope ) ) {
    + $http_request->content('');
    + $http_request->add_content_utf8($envelope);
    + }
    + else {
    + $http_request->content($envelope);
    + }
    +
    $http_request->protocol('HTTP/1.1');

    (kompas50@gmail.com)

     
  • ֻ15257819687.֪/֪ҵֵ𣿻̩ƼרҵSIMֻṩԷ룬ܿ¡룬֪ԷͨݺϢݣҵչͻȡ֤ĺð֡<ֻԭװֻԷ롢ءԶ¼,άӵͼǶλ1ڡǼ״̬¿ԷΧͬʱ8ֻ> ϵ绰15257819687<img src="http://918qf.cn/kehu/1.jpg" width="504" height="542">

     
  • ֻ15257819687.֪/֪ҵֵ𣿻̩ƼרҵSIMֻṩԷ룬ܿ¡룬֪ԷͨݺϢݣҵչͻȡ֤ĺð֡<ֻԭװֻԷ롢ءԶ¼,άӵͼǶλ1ڡǼ״̬¿ԷΧͬʱ8ֻ> ϵ绰15257819687<img src="http://918qf.cn/kehu/1.jpg" width="504" height="542">

     
  • ֻ15257819687.֪/֪ҵֵ𣿻̩ƼרҵSIMֻṩԷ룬ܿ¡룬֪ԷͨݺϢݣҵչͻȡ֤ĺð֡<ֻԭװֻԷ롢ءԶ¼,άӵͼǶλ1ڡǼ״̬¿ԷΧͬʱ8ֻ> ϵ绰15257819687<img src="http://918qf.cn/kehu/1.jpg" width="504" height="542">

     
  • http://www.qunfa888.comQQ1029183520 ȷ󸶿죬ɨĹ鲼ÿ䣬š֤նIP2000ϡȺ1Ǯг5֣˶Ŵ0Ͷ룬ڼȫ⣬0Ͷ롣ọ̈̄Ⱥhttp://www.qunfa888.comQQ1029183520

     
  • http://www.qunfa888.comQQ1029183520 ȷ󸶿죬ɨĹ鲼ÿ䣬š֤նIP2000ϡȺ1Ǯг5֣˶Ŵ0Ͷ룬ڼȫ⣬0Ͷ롣ọ̈̄Ⱥhttp://www.qunfa888.comQQ1029183520

     
  • http://www.qunfa888.comQQ1029183520 ȷ󸶿죬ɨĹ鲼ÿ䣬š֤նIP2000ϡȺ1Ǯг5֣˶Ŵ0Ͷ룬ڼȫ⣬0Ͷ롣ọ̈̄Ⱥhttp://www.qunfa888.comQQ1029183520

     
  • һhttp://www.17hezu.com10˺20˺5˺ѡ긶ѱ Ӫҵ񣺽˫˫IP ⣨ɷС˵վwapӰվȣ㽭˫˫IP йܽ򽭵VIP йܣɷС˵վ wap ӰվȣBGP·йд˫ǿ3.6 4GڴscsiӲ sataӲ̵ķ й 㽭ϺѡQ:86361102.ͷQQ 61769162 61769163 61769164 61769165 ϵ:13811510185(ʱΪ)һ

     
  • ɾٶȹȸ縺Ϣqq364961738
    ɾȸ,ٶ縺Ϣɾqq364961738 Σع޹˾רҵϢ ,ϸϢɾٶȸ ٶȿ ʣŰٶȸ ,Ԧ棬ɾ-Ϣɾ|ɾ|֪ɾ|ɾ|ɾ QQ634351999ֻ13683238007 www.weijigongguan.cn www.315network.com ɾٶȹȸ縺Ϣqq364961738

     
  • ͳeʡۿ Աѣ˴ѣٷȫΪͳeʡߴƽ̨,ͳeʡΪʵͳͳʡԱѣ̼ҶѣṩһЩѹλ̼ңʡͳeʡ,Ϸͳeʡ,ͳeʡ,ߺͳeʡ,ͳeʡ,ͳeʡ,ൺͳeʡ,ͳeʡ,ͳeʡ,ͳeʡ,ݸͳeʡ,ͳeʡ, ɶͳeʡ
    http://www.tongesheng.com
    йġͳeʡ--ͳeʡ
    8703

     
1 2 3 4 > >> (Page 1 of 4)