Skip to content

Commit 508ff1c

Browse files
committed
Switch to httpstat.us for HTTPS test.
- httpbin.org has timeouts running from GitHub actions.
1 parent 8120107 commit 508ff1c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### Changed
66
- Use a local HTTP server for most testing.
7-
- Use httpbin for valid cert HTTPS testing.
7+
- Use httpstat.us for valid cert HTTPS testing.
88
- Add local server self-signed certificate HTTPS test.
99
- Test on Node.js 20.x.
1010

tests/10-client-api.spec.common.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ describe('http-client API', () => {
4949
response.status.should.equal(200);
5050
});
5151

52-
// test HTTPS on httpbin on node and browsers
52+
// test HTTPS on httpstat.us on node and browsers
5353
it('can use HTTPS on httpbin', async () => {
5454
let err;
5555
let response;
56-
const url = `https://httpbin.org/json`;
56+
const url = `https://httpstat.us/200`;
5757
try {
5858
response = await httpClient.get(url);
5959
} catch(e) {

0 commit comments

Comments
 (0)