We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4acc802 commit c4554ffCopy full SHA for c4554ff
packages/core/functions-js/src/FunctionsClient.ts
@@ -123,7 +123,10 @@ export class FunctionsClient {
123
let data: any
124
if (responseType === 'application/json') {
125
data = await response.json()
126
- } else if (responseType === 'application/octet-stream') {
+ } else if (
127
+ responseType === 'application/octet-stream' ||
128
+ responseType === 'application/pdf'
129
+ ) {
130
data = await response.blob()
131
} else if (responseType === 'text/event-stream') {
132
data = response
0 commit comments