mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-18 14:06:34 +00:00
Simplify Accept Header
This commit is contained in:
@@ -118,8 +118,7 @@ class Drawing extends BaseDrawing
|
||||
'user_agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36',
|
||||
'header' => [
|
||||
//'Connection: keep-alive', // unacceptable performance
|
||||
// accept header used by chrome without image/webp
|
||||
'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7',
|
||||
'Accept: image/*;q=0.9,*/*;q=0.8',
|
||||
],
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user