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
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
## 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.
- Update HTTPS test endpoint from dead service to to github.com. May hit rate
limits during testing.

## 4.2.0 - 2025-03-25

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

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