[newbie] How do I send a custom HTTP::Response?

2002-10-23 Thread Chris Pizzo

The documentation tells me how to create a new response object but how do I
reply to a request using my custom response?

Thanks,
Chris




Re: [newbie] How do I send a custom HTTP::Response?

2002-10-23 Thread Perrin Harkins
Chris Pizzo wrote:

The documentation tells me how to create a new response object but how do I
reply to a request using my custom response?


HTTP::Response?  That's an LWP thing, not a mod_perl thing.  Maybe 
you're a little confused here?  Tell us what you're trying to do.

- Perrin



Re: [newbie] How do I send a custom HTTP::Response?

2002-10-23 Thread Chris Pizzo
OK,  I am getting a request from a server and I need to respond with an XML
doc.


- Original Message -
From: Perrin Harkins [EMAIL PROTECTED]
To: Chris Pizzo [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, October 23, 2002 12:54 PM
Subject: Re: [newbie] How do I send a custom HTTP::Response?


 Chris Pizzo wrote:
  The documentation tells me how to create a new response object but how
do I
  reply to a request using my custom response?

 HTTP::Response?  That's an LWP thing, not a mod_perl thing.  Maybe
 you're a little confused here?  Tell us what you're trying to do.

 - Perrin






Re: [newbie] How do I send a custom HTTP::Response?

2002-10-23 Thread Perrin Harkins
Chris Pizzo wrote:

OK,  I am getting a request from a server and I need to respond with an XML
doc.


So your mod_perl handler is getting an HTTP request and you want to send 
back an XML document?  No problem, just send it.  Set the content-type 
if you need to.  There's no trick to it.  See the mailing list archives 
for more on this.

- Perrin