Skip to content

Commit

Permalink
fixup! feat: set Content-Type header to application/gzip|zstd when th…
Browse files Browse the repository at this point in the history
…e compression property in the request was set #665
  • Loading branch information
fengelniederhammer committed Feb 29, 2024
1 parent 5b6ffdc commit d19998f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion siloLapisTests/test/common.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ describe('All endpoints', () => {
it('should return gzip compressed data when accepting compression in header', async () => {
const urlParams = new URLSearchParams();

const response = await get(urlParams, { headers: { 'Accept-Encoding': 'gzip' } });
const response = await get(urlParams, { headers: { 'Accept-Encoding': 'gzip, deflate, br' } });

expect(response.status).equals(200);
if (route.servesFasta) {
Expand Down

0 comments on commit d19998f

Please sign in to comment.