BookStack/tests/Uploads
Dan Brown e9f906ce56
Attachments: Fixed full range request handling
We were not responsing with a range request, where the requested range
was for the full extent of content. This changes things to always
provide a range request, even for the full range.

Change made since our existing logic could cause problems in chromium
browsers.

Elseif statement removed as its was likley redundant based upon other
existing checks.
This also changes responses for requested ranges beyond content, but I
think that's technically correct looking at the spec (416 are for when
there are no overlapping request/response ranges at all).

Updated tests to cover.
For #5342
2024-11-29 13:19:55 +00:00
..
AttachmentTest.php Attachments: Fixed full range request handling 2024-11-29 13:19:55 +00:00
AvatarTest.php Removed use of HttpFetcher 2023-09-08 17:16:57 +01:00
DrawioTest.php Extracted test file handling to its own class 2023-02-08 14:39:13 +00:00
ImageTest.php Actually add the test this time 2024-07-05 03:59:49 +00:00