We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents db3b757 + 29d1bfb commit b768059Copy full SHA for b768059
examples/protocols/http_server/captive_portal/main/main.c
@@ -127,7 +127,7 @@ static const httpd_uri_t root = {
127
esp_err_t http_404_error_handler(httpd_req_t *req, httpd_err_code_t err)
128
{
129
// Set status
130
- httpd_resp_set_status(req, "302 Temporary Redirect");
+ httpd_resp_set_status(req, "303 See Other");
131
// Redirect to the "/" root directory
132
httpd_resp_set_hdr(req, "Location", "/");
133
// iOS requires content in the response to detect a captive portal, simply redirecting is not sufficient.
0 commit comments