fix: esp_http_client and esp_https_ota can follow 307 Redirects

Closes https://github.com/espressif/esp-idf/pull/4431
This commit is contained in:
Aidan Cyr
2019-11-29 14:17:51 +11:00
committed by Mahavir Jain
parent 594cec54bd
commit 5f6fd238b6
3 changed files with 4 additions and 1 deletions
@@ -131,6 +131,7 @@ typedef enum {
/* 3xx - Redirection */
HttpStatus_MovedPermanently = 301,
HttpStatus_Found = 302,
HttpStatus_TemporaryRedirect = 307,
/* 4xx - Client Error */
HttpStatus_Unauthorized = 401