espressif / arduino-esp32

Arduino core for the ESP32
GNU Lesser General Public License v2.1
13.62k stars 7.41k forks source link

Http client Digest Authentication #7850

Open simonemarin opened 1 year ago

simonemarin commented 1 year ago

Related area

Http client

Hardware specification

ESP32 in general

Is your feature request related to a problem?

I need to authenticate against a (yes old) http1.1 Digest Auth server. I cannot find any information for ESP32 apart, of course, doing all the code from scratch, that is reading the headers, calculating MD5, etc.

Describe the solution you'd like

For bad and old it is, still this auth method is widely used in the PTZ/IP camera world, so it would be nice to have a working example.

Describe alternatives you've considered

As mentioned, reading headers and writing the auth protocol from scratch, if I ll ever come up with something decent, I would offer to upload an example to the library.

Additional context

No response

I have checked existing list of Feature requests and the Contribution Guide

SuGlider commented 1 year ago

Not sure if this link can help... but here it goes: https://github.com/espressif/esp-idf/issues/5888