diff --git a/components/esp32-wifi-manager b/components/esp32-wifi-manager index 0ff72ada..069d43ce 160000 --- a/components/esp32-wifi-manager +++ b/components/esp32-wifi-manager @@ -1 +1 @@ -Subproject commit 0ff72ada5ff40518715872259d165ac209965b0d +Subproject commit 069d43cec590251a25600b8e7b7f24ecb378fffb diff --git a/main/http.c b/main/http.c index 4d30fa32..05f8b665 100644 --- a/main/http.c +++ b/main/http.c @@ -235,7 +235,7 @@ http_wait_until_async_req_completed_handle_http_resp( "HTTP GET Status = %d, content_length = %d", http_resp_code, esp_http_client_get_content_length(p_http_handle)); - if (HTTP_RESP_CODE_200 == http_resp_code) + if ((HTTP_RESP_CODE_200 <= http_resp_code) && (http_resp_code <= HTTP_RESP_CODE_299)) { if ((NULL != p_cb_info) && (NULL != p_cb_info->p_buf)) { @@ -661,7 +661,7 @@ http_async_poll(uint32_t* const p_malloc_fail_cnt) { const esp_http_client_http_status_code_t http_status = esp_http_client_get_status_code( p_http_async_info->p_http_client_handle); - if (HTTP_RESP_CODE_200 == http_status) + if ((HTTP_RESP_CODE_200 <= http_status) && (http_status <= HTTP_RESP_CODE_299)) { http_async_poll_handle_resp_ok(p_http_async_info, http_status); flag_success = true; diff --git a/ruuvi.gwui.html b/ruuvi.gwui.html index 0083af95..36c38279 160000 --- a/ruuvi.gwui.html +++ b/ruuvi.gwui.html @@ -1 +1 @@ -Subproject commit 0083af953a4237a2d4a3128e8cda39116a7c0ac2 +Subproject commit 36c38279803ceeb8a71570aecfbf26c937da499e