[Xml-compile] header method on HTTPDaemon object (version 0.11)
Zbigniew Lukasiak
zzbbyy at gmail.com
Wed Nov 19 09:47:30 GMT 2008
On Tue, Nov 18, 2008 at 8:18 PM, Mark Overmeer <solutions at overmeer.net> wrote:
> * Zbigniew Lukasiak (zzbbyy at gmail.com) [081118 14:56]:
>> { use bytes; $self->header('Content-Length' => length $s); }
>>
>> I don't see where $self should get the header method from. So I
>> copied HTTPDaemon.pm and changed this to
>>
>> { use bytes; $resp->header('Content-Length' => length $s); }
>> I.e. I call the header method on the response object instead of $self.
>> And now it works.
>
> Of course, this is a bug. I already had it in my 0.12-to-be-released...
> I'll release a lot of new versions this week. For instance, there is
Great! I am looking forward for the new version.
Just a side note - maybe it is time to setup a public code repository
- so that people would not duplicate their bug hunting efforts?
--
Zbigniew Lukasiak
http://brudnopis.blogspot.com/
http://perlalchemy.blogspot.com/
More information about the Xml-compile
mailing list