"Justin Erenkrantz" <[EMAIL PROTECTED]> wrote:

> 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?

It would be "My Message Goes Here"....

> 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

Awwww FU*KME! :( I wasn't able to reproduce it because I wasn't setting the
status line on darn Tomcat... Folks I _AM_ stupid...

Justin, go to bed! :)

    Pier

Reply via email to