Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(esp_http_client): Fix invalid content length header
In case a request with no content is sent after one with the content length header set the header of the previous request is sent with the subsequent one. For instance, an empty GET request followed by a PUT request will still indicate the non-zero content length of the previous request. This is fixed by clearing the content length header when it shouldn't be set.
- Loading branch information