Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @digitalbazaar/http-client ChangeLog

## 4.2.1 - 2025-xx-xx

### Fixed
- Update HTTPS test endpoint from dead service to to api.github.com. May hit
rate limits during testing.

## 4.2.0 - 2025-03-25

### Changed
Expand Down
7 changes: 4 additions & 3 deletions tests/10-client-api.spec.common.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,12 @@ describe('http-client API', () => {
response.status.should.equal(200);
});

// test HTTPS on httpstat.us on node and browsers
it('can use HTTPS on httpbin', async () => {
// test HTTPS on api.github.com on node and browsers
// NOTE: might get rate limited
it('can use HTTPS on api.github.com', async () => {
let err;
let response;
const url = `https://httpstat.us/200`;
const url = `https://api.github.com/repos/digitalbazaar/http-client`;
try {
response = await httpClient.get(url);
} catch(e) {
Expand Down