On Wed, 12 Sep 2001, Doug MacEachern wrote:

> On Thu, 13 Sep 2001, Stas Bekman wrote:
>
> > +sub handler {
> > +    $r = shift;
> > +    $r->send_http_header('text/plain');  # doesn't work!
> > +    $r->print("Content-type: text/plain\r\n\r\n");
> > +    print("OK\n");
>
> what doesn't work exactly?  what is the output when you telnet and make a
> GET request for this handler?

Nada.

I expect print OK to work, but I don't see anything.  send_http_header
doesn't work too.

_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to