Skip to content

Commit 64ac771

Browse files
committed
Update HTTPS test endpoint.
Update HTTPS test endpoint from dead service to to api.github.com. May hit rate limits during testing.
1 parent e02ed8c commit 64ac771

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @digitalbazaar/http-client ChangeLog
22

3+
## 4.2.1 - 2025-xx-xx
4+
5+
### Fixed
6+
- Update HTTPS test endpoint from dead service to to api.github.com. May hit
7+
rate limits during testing.
8+
39
## 4.2.0 - 2025-03-25
410

511
### Changed

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

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

52-
// test HTTPS on httpstat.us on node and browsers
53-
it('can use HTTPS on httpbin', async () => {
52+
// test HTTPS on api.github.com on node and browsers
53+
// NOTE: might get rate limited
54+
it('can use HTTPS on api.github.com', async () => {
5455
let err;
5556
let response;
56-
const url = `https://httpstat.us/200`;
57+
const url = `https://api.github.com/repos/digitalbazaar/http-client`;
5758
try {
5859
response = await httpClient.get(url);
5960
} catch(e) {

0 commit comments

Comments
 (0)