file length #143

Closed
opened 2025-11-09 09:41:48 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @syrian-dev on GitHub (Dec 9, 2023).

can you please add file length to api ?

{
"status":"stream",
"url":https://us2-co.wuk.sh/api/stream?t=................", 
"length: 2394978, 
}
Originally created by @syrian-dev on GitHub (Dec 9, 2023). can you please add file length to api ? ``` { "status":"stream", "url":https://us2-co.wuk.sh/api/stream?t=................", "length: 2394978, } ```
Author
Owner

@dumbmoron commented on GitHub (Dec 9, 2023):

where the file length is known, it will be provided using the content-length header when you request the stream URL provided in url. otherwise if that header is absent, the content length is not known as the file is generated on the fly

@dumbmoron commented on GitHub (Dec 9, 2023): where the file length is known, it will be provided using the `content-length` header when you request the stream URL provided in `url`. otherwise if that header is absent, the content length is not known as the file is generated on the fly
Author
Owner

@wukko commented on GitHub (Dec 10, 2023):

i could only make the api give you approximate file size, but that's far from ideal

@wukko commented on GitHub (Dec 10, 2023): i could only make the api give you approximate file size, but that's far from ideal
Sign in to join this conversation.