[asterisk-dev] kpfleming: branch 1.4 r134983 - /branches/1.4/main/http.c

Edwin Groothuis edwin at mavetju.org
Fri Aug 1 01:56:39 CDT 2008


On Thu, Jul 31, 2008 at 09:20:06PM -0500, Russell Bryant wrote:
> > -		c = ast_http_error(302, "Moved Temporarily", "Location: /static/ 
> > index.html\r\n", "This is not the page you are looking for...");
> > +		c = ast_http_error(302, "Moved Temporarily", "Location: /static/ 
> > index.html\r\n", "Redirecting to /static/index.html.");
> > 		*status = 302;
> > 		*title = strdup("Moved Temporarily");

Shouldn't that be a full URL in the Location: line?

Edwin

-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin at mavetju.org    |              Weblog: http://www.mavetju.org/weblog/



More information about the asterisk-dev mailing list