File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -8402,10 +8402,9 @@ inline bool Server::handle_file_request(Request &req, Response &res) {
84028402 }
84038403 }
84048404
8405- // Handle If-Range for partial content requests (RFC 9110
8406- // Section 13.1.5) If-Range is only evaluated when Range header is
8407- // present. If the validator matches, serve partial content; otherwise
8408- // serve full content.
8405+ // Handle If-Range for partial content requests (RFC 9110 Section 13.1.5).
8406+ // If-Range is only evaluated when Range header is present.
8407+ // If the validator matches, serve partial content; otherwise serve full content.
84098408 if (!req.ranges .empty () && req.has_header (" If-Range" )) {
84108409 auto if_range = req.get_header_value (" If-Range" );
84118410 auto valid = false ;
You can’t perform that action at this time.
0 commit comments