A
Size: a a a
A
ВА
ВА
A
ВА
A
A
async function getContent(response) {это чатсь
const contentType = response.headers.get('content-type');
if (contentType && contentType.startsWith('application/json')) {
try {
return await response.json();
} catch (error) {
/** empty json body will throw "SyntaxError: Unexpected end of input" */
if (error instanceof SyntaxError) {
return response.text();
}
}
}
1
ВХ
1
1
ЕИ
ЕИ
ЮЧ
ЮЧ
URL.createObjectUrl(blob)
, и открыть новое окно, с передачей параметра через localStorage
, cookie
, или queryString
.DG
СБ
DG
DG