mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-23 08:45:22 +03:00
Allow manually setting MD5 checksum for HTTP update (#8204)
This commit is contained in:
@ -108,6 +108,11 @@ public:
|
||||
_ledOn = ledOn;
|
||||
}
|
||||
|
||||
void setMD5sum(const String &md5Sum)
|
||||
{
|
||||
_md5Sum = md5Sum;
|
||||
}
|
||||
|
||||
void setAuthorization(const String& user, const String& password);
|
||||
void setAuthorization(const String& auth);
|
||||
|
||||
@ -142,7 +147,7 @@ protected:
|
||||
String _user;
|
||||
String _password;
|
||||
String _auth;
|
||||
|
||||
String _md5Sum;
|
||||
private:
|
||||
int _httpClientTimeout;
|
||||
followRedirects_t _followRedirects = HTTPC_DISABLE_FOLLOW_REDIRECTS;
|
||||
|
Reference in New Issue
Block a user