项目作者: wtrsltnk

项目描述 :
Serve Static Files, a small app that will serve static files from the current working directory.
高级语言: C++
项目地址: git://github.com/wtrsltnk/ssf.git
创建时间: 2018-06-22T22:31:30Z
项目社区:https://github.com/wtrsltnk/ssf

开源协议:

下载


Serve Static Files (ssf)

When ssf.exe is run without arguments, it will serve static files from the current working directory on the port 8888. Open http://localhost:8888/ to visit the served files.

  1. usage:
  2. ssf.exe [<path>] options
  3. where arguments are:
  4. <path> which path to serve static files from? Default is current working directory.
  5. where options are:
  6. -p, --port <port> on what should I be listing? Default is 8888
  7. -?, -h, --help display usage information

TODO

  • Make sure the correct Content-Type header is rerturned
  • Make sure binary files are supported
  • Add directory browsing

Screenshot