mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-21 10:26:06 +03:00
Change BSSL_CertStore test URL (#7370)
github.com forwards to www.github.com So reaching out for "www.github.com" returns HTTP 304 instead of the nice HTTP 204
This commit is contained in:
parent
dfd5a4f12b
commit
709ba7981e
@ -148,8 +148,8 @@ void setup() {
|
|||||||
BearSSL::WiFiClientSecure *bear = new BearSSL::WiFiClientSecure();
|
BearSSL::WiFiClientSecure *bear = new BearSSL::WiFiClientSecure();
|
||||||
// Integrate the cert store with this connection
|
// Integrate the cert store with this connection
|
||||||
bear->setCertStore(&certStore);
|
bear->setCertStore(&certStore);
|
||||||
Serial.printf("Attempting to fetch https://www.github.com/...\n");
|
Serial.printf("Attempting to fetch https://github.com/...\n");
|
||||||
fetchURL(bear, "www.github.com", 443, "/");
|
fetchURL(bear, "github.com", 443, "/");
|
||||||
delete bear;
|
delete bear;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user