Comments (4)
Understandable. I'll just keep it as a fork.
from darkhttpd.
This is pretty cool! I am curious if that works with Kodi. I would be happy to test that unless you happen to have Kodi ready to go.
I personally don't have any objections to that being the default, especially if it plays nicely with Kodi. I do think it'd be a great candidate for a couple of unit tests as well.
from darkhttpd.
I don't use kodi. Please test it if you want. If it shouldn't work then it might be able to make it compatible. Or just use the old way of displaying.
from darkhttpd.
I'm sorry but I'm not thrilled about this functionality. :( I think just showing the number of bytes is fine.
The Kodi regex (https://github.com/xbmc/xbmc/pull/17652/files) is ([0-9]+)(B|K|M|G)?(?=\\s|<|$)
- IIUC it won't match GiB, so it's not clear if it's 1000 or 1024.
Off-topic: I personally would prefer thousands-separators like 123,456 except:
- It's probably not worth the complexity
- It breaks the Kodi regex (lol)
- People are going to argue over
,
vs.
from darkhttpd.
Related Issues (20)
- Linting? Code formatting? HOT 2
- Add an option to serve a single file for all requests HOT 9
- Can not listen to IPv6 address. HOT 2
- [FR] ability to use css HOT 7
- darkhttp possibly logs incorrect size for requests.
- Skip link to parent directory when in root HOT 1
- macOS: Access to some macOS special files should be filtered out HOT 3
- PROPFIND / Read-Only WebDAV HOT 6
- Listen on IPv4 and IPv6 HOT 2
- Support FreeBSD 14+ chroot as non-root feature HOT 2
- Better argument parsing HOT 16
- Is the date header necessary? HOT 3
- Directory listings missing size in Kodi HOT 6
- With `--forward-https` set `client` ip from `X-Forwarded-For` HOT 1
- 500 for not found directory listing HOT 3
- Tests don't pass, but say they do
- --help / usage sorting is unintuitive HOT 1
- Update generated html HOT 5
- Use of stdout after fclose() HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from darkhttpd.