Skip to content

Commit

Permalink
revert auto detection as todo
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Sep 19, 2022
1 parent 776830c commit a58c8c5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ export function detectResponseType (_contentType = ''): ResponseType {
return 'json'
}

if (contentType === 'application/octet-stream') {
return 'stream'
}
// TODO
// if (contentType === 'application/octet-stream') {
// return 'stream'
// }

if (textTypes.has(contentType) || contentType.startsWith('text/')) {
return 'text'
Expand Down

0 comments on commit a58c8c5

Please sign in to comment.