simple-http-server
simple-http-server copied to clipboard
Is it possible to provide units for the "-l" parameter?
--upload-size-limit The default setting is in bytes, but when uploading large files, it's inconvenient to set a large number of bytes. I hope to carry the letters k, m, g after the number, so as to define the file size limit for uploading. For example, 10m, for example, 1g.
how did you implement the size limit?
hopefully metric/binary prefix will be implemented in future versions. or temporarily disable size limt