Alternatively you could use POE::Component::Server::SimpleHTTP
On 12/6/05, Pedro Melo Cunha <[EMAIL PROTECTED]> wrote: > > Many thanks, > > I missed that from the docs, I'm must be blind or something. :( > > Sorry bout that. > > On Dec 6, 2005, at 1:10 PM, Mathieu Longtin wrote: > > > In the content handler, return RC_WAIT instead of RC_OK, > > this will delay the sending of the response. > > > > When the $response object is filled and ready, call: > > $response->continue(); > > > > This will tell the server to send the response. > > > > -Mathieu > > > > --- Pedro Melo Cunha <[EMAIL PROTECTED]> wrote: > > > >> Hi, > >> > >> I need to write a HTTP server that interacts with XMPP, > >> using POE. > >> > >> The problem is that after a HTTP request, I have to do > >> some XMPP > >> transactions and only after that I can generate the > >> response. > >> > >> From the PoCo::Server::HTTP docs, I don't seem to be > >> able to put a > >> request on hold, do some other stuff, and then generate > >> the response, > >> correct? > >> > >> Anybody done something like this before? > >> > >> Thanks, > >> > > > > > > > > > > __________________________________________ > > Yahoo! DSL – Something to write home about. > > Just $16.99/mo. or less. > > dsl.yahoo.com > > > > > >