Closed GoogleCodeExporter closed 8 years ago
You need to set Status header, too:
echo 'print "Status: 302\nLocation: http://localhost:8080/b.html\n\n"' >
cgi-bin/b.pl
Also, I've submitted a change that sets code 302 automatically if Location
header is set in CGI reply:
https://code.google.com/p/mongoose/source/detail?r=544f09214e83fa120d611d7cc1fbe
be8f8a611b9
Original comment by valenok
on 6 Nov 2011 at 10:25
Original issue reported on code.google.com by
renezgt...@gmail.com
on 19 Oct 2011 at 2:01