mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-04 06:11:06 +00:00 
			
		
		
		
	Merge branch 'bugfix/http_code_v4.3' into 'release/v4.3'
esp_http_client, esp_https_ota: Handle HTTP 303 status code (v4.3) See merge request espressif/esp-idf!17733
This commit is contained in:
		@@ -812,7 +812,9 @@ static esp_err_t esp_http_check_response(esp_http_client_handle_t client)
 | 
			
		||||
    switch (client->response->status_code) {
 | 
			
		||||
        case HttpStatus_MovedPermanently:
 | 
			
		||||
        case HttpStatus_Found:
 | 
			
		||||
        case HttpStatus_SeeOther:
 | 
			
		||||
        case HttpStatus_TemporaryRedirect:
 | 
			
		||||
        case HttpStatus_PermanentRedirect:
 | 
			
		||||
            esp_http_client_set_redirection(client);
 | 
			
		||||
            client->redirect_counter ++;
 | 
			
		||||
            client->process_again = 1;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user