Hue-Bond has asked for the wisdom of the Perl Monks concerning the following question:
(I honestly believe this is a Perl related question. Please be kind on me if I'm wrong O:^)).
This simple server:
use warnings; use strict; use SOAP::Transport::HTTP; SOAP::Transport::HTTP::CGI ->dispatch_to ('/home/hue/lang/perl/modules', 'HelloWorld') ->handle;
does not return a proper HTTP status line (ie, the "HTTP/1.1 200 OK" one). Instead, it returns "Status: 200 OK", which is making the client I'm using fail. Upon investigation, I found a conditional on line 373 of SOAP/Transport/HTTP.pm, the code decides to send "Status:" because I'm not running IIS, due to what seems to be a bug in IIS concerning non-parsed-headers.
I see no way of making SOAP::Lite send a standard status line as specified in RFC 2616 (section 6.1) so I must assume I don't know something and that "Status:" line is in some way "right". So, what am I missing? Is my client buggy for not accepting "Status:"?
--
David Serrano
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: SOAP::Lite and HTTP status line
by shmem (Chancellor) on Sep 18, 2006 at 14:43 UTC | |
by Hue-Bond (Priest) on Sep 23, 2006 at 18:22 UTC | |
by shmem (Chancellor) on Sep 24, 2006 at 10:57 UTC | |
|
Re: SOAP::Lite and HTTP status line
by greatshots (Pilgrim) on Sep 18, 2006 at 11:12 UTC | |
by shmem (Chancellor) on Sep 18, 2006 at 14:37 UTC |