esp8266 / esp8266/Arduino

Bug: Custom HTTP headers are lost on redirect in HTTPClient

Open
#8,942 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
16.7k
Forks
13.1k
PR merge metrics
No merged PRs in 30d

Description

Custom HTTP headers (using `HTTPClient::addHeader()`) are lost if a redirect is encountered during the request. This fix (https://github.com/espressif/arduino-esp32/pull/5973) needs to be applied here.

This bug is very troublesome when your API key is sent in the headers D:

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.