Skip to content

Commit 709ba79

Browse files
authored
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
1 parent dfd5a4f commit 709ba79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/ESP8266WiFi/examples/BearSSL_CertStore/BearSSL_CertStore.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ void setup() {
148148
BearSSL::WiFiClientSecure *bear = new BearSSL::WiFiClientSecure();
149149
// Integrate the cert store with this connection
150150
bear->setCertStore(&certStore);
151-
Serial.printf("Attempting to fetch https://www.github.com/...\n");
152-
fetchURL(bear, "www.github.com", 443, "/");
151+
Serial.printf("Attempting to fetch https://github.com/...\n");
152+
fetchURL(bear, "github.com", 443, "/");
153153
delete bear;
154154
}
155155

0 commit comments

Comments
 (0)