[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[help-cgicc] Sending Redirect and Status Headers

From: Artyom Beilis
Subject: [help-cgicc] Sending Redirect and Status Headers
Date: Tue, 6 Jan 2009 02:53:12 -0800 (PST)


There is two headers: HTTPRedirectHeader and HTTPStatusHeader. On of the
with them is a fact that sometimes you should send them both

Status: 302 Found
Location: /some/new/place


Otherwise apache and nginx  would not redirect (only lighttpd works for me
without status header).
The problem is that each one of these headers adds "\n\n" at the and and you
can send them as is
So I should add Status header manually 

cout<<"Status: 302 Found"<<endl;

Is there way to send both headers together?

I don't see this option in the code, all render() virtual functions send
final "\n\n".

View this message in context:
Sent from the cgicc - General mailing list archive at

reply via email to

[Prev in Thread] Current Thread [Next in Thread]