On Thu, Jun 13, 2002 at 11:24:51AM +0100, Pier Fumagalli wrote: > Folks, I don't really get this one... Maybe someone can enlighten me. Stefan > is using mod_webapp on HP_UX, with Apache 1.3.23. > > WebApp sets the status line in the request_rec structure, doing something > like: > > if (status !=NULL && status[0]!='\0') > req->status_line=apr_pstrdup(req->pool,status); > > Now, it happens that when that line is in place, oddly enough, the response > seen by the client instead of being > > HTTP/1.1 XXX My Message Goes Here > > comes out as > > HTTP/1.1 My Message Goes Here
What is status (your string) in this case? The status_line field should contain the code as well as the text message. The r->status field isn't automatically prepended to the status_line. -- justin