mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2026-05-04 23:26:09 +02:00
return standard Content-Length header for API responses in addition to nonstandard Api-Content-Length
This commit is contained in:
parent
191da49ab1
commit
8aac6f2d3d
@ -59,7 +59,10 @@
|
||||
// $handler->after();
|
||||
}
|
||||
|
||||
header("Api-Content-Length: " . ob_get_length());
|
||||
$content_length = ob_get_length();
|
||||
|
||||
header("Api-Content-Length: $content_length");
|
||||
header("Content-Length: $content_length");
|
||||
|
||||
ob_end_flush();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user