To test if a server support it you can test the accept-range as such
Origin servers that accept byte-range requests MAY send
Accept-Ranges: bytes
but are not required to do so. Clients MAY generate byte-range
requests without having received this header for the resource
involved. Range units are defined in section 3.12.
Servers that do not accept any kind of range request for a
resource MAY sendAccept-Ranges: none
to advise the client not to attempt a range request.