What is Nostr?
Mattias Wadman /
npub1kx3…4a5h
2024-10-10 07:09:30

Mattias Wadman on Nostr: TIL HTTP range header is a inclusive range so requesting range 0- (whole file) you ...

TIL HTTP range header is a inclusive range so requesting range 0- (whole file) you might get 416 range not satisfiable if the file is empty as there is no byte at index 0. Fortunately most HTTP file servers (golang, gcs, etc) ignores this for empty files and return 200 instead.

#http
Author Public Key
npub1kx3d8pcl2cpfy98zy8gd7lqjqpfavgxwqvnvqk5rz7xvkpxw280sj94a5h