Homebrew Question How can I get Tinfoil to read filesizes from a Caddy server?

falcorr

Well-Known Member
OP
Member
Joined
Sep 26, 2019
Messages
133
Trophies
0
XP
690
Country
Australia
I had too much trouble getting Nut to work and tried Caddy, which has worked out a lot better for me. But, Tinfoil isn't picking up filesizes, listing everything as 0 bytes. Caddy produces a pretty clean page, filesizes are accurate to the byte in the source - see images below:

YsLUI2D.png

19R9NKo.png

How might I help Tinfoil to find the filesizes?
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
22,218
Trophies
4
Location
Space
XP
11,745
Country
Norway
I had too much trouble getting Nut to work and tried Caddy, which has worked out a lot better for me. But, Tinfoil isn't picking up filesizes, listing everything as 0 bytes. Caddy produces a pretty clean page, filesizes are accurate to the byte in the source - see images below:

YsLUI2D.png

19R9NKo.png

How might I help Tinfoil to find the filesizes?
I think that's just normal for HTTP based access, since it just reads the filename from the URL, but doesn't actually get the file info from the server until you start a download. Tinfoil is not aware of those extra tags in the HTML I guess.
 

You may also like...

General chit-chat
Help Users
  • No one is chatting at the moment.
    M4x1mumReZ @ M4x1mumReZ: 200 degrees fahrenheit. It's burning at the speed of light. +1