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();
|
||||
// Integrate the cert store with this connection
|
||||
bear->setCertStore(&certStore);
|
||||
Serial.printf("Attempting to fetch https://www.github.com/...\n");
|
||||
fetchURL(bear, "www.github.com", 443, "/");
|
||||
Serial.printf("Attempting to fetch https://github.com/...\n");
|
||||
fetchURL(bear, "github.com", 443, "/");
|
||||
delete bear;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user