-
Notifications
You must be signed in to change notification settings - Fork 7.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to parse HTTP headers following a esp_http_client_fetch_headers() call (IDFGH-14204) #15002
Comments
Is this no good? You can get HTTP headers.
You can still get the header with this.
|
That also works, but that would be operating at a lower level of abstraction. I was hoping to operate that the ESP HTTP Client layer where TLS is handled.
Is that done via the |
Yes. |
Is your feature request related to a problem?
Hi, I'm currently trying to do a native HTTP request using the
esp_http_client.h
API i.e., without calling theesp_http_perform()
function (similar to thehttp_native_request()
function in the esp_http_client example. The reason being that I want to manually fetch headers and parse them, before conditionally sending a GET request for the actual data payload.However, after calling
esp_http_client_fetch_headers()
to fetch the headers, theesp_http_client.h
API doesn't provide a way to access the buffer storing the headers.Is there a recommended way to get access to those headers and parse them?
Describe the solution you'd like.
No response
Describe alternatives you've considered.
No response
Additional context.
No response
The text was updated successfully, but these errors were encountered: