V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
chuangbo
V2EX  ›  Python

请问有没有类似 python -m SimpleHTTPServer 或 python3 -m http.server 但是支持断点续传等功能,像 nginx 一样健壮的开箱即用的临时使用的静态文件服务器?

  •  
  •   chuangbo · 2014-07-25 06:55:40 +08:00 · 9711 次点击
    这是一个创建于 3534 天前的主题,其中的信息可能已经有所发展或是发生改变。
    第 1 条附言  ·  2018-06-22 12:01:48 +08:00
    目前用 caddy
    6 条回复    2014-07-25 14:01:24 +08:00
    robbielj
        1
    robbielj  
       2014-07-25 07:06:28 +08:00   ❤️ 1
    clino
        2
    clino  
       2014-07-25 08:07:39 +08:00 via Android   ❤️ 1
    https://github.com/lerry/httpserver 这个我记得可以断点?
    est
        3
    est  
       2014-07-25 08:26:59 +08:00   ❤️ 1
    code.google.com/p/mongoose 这个貌似可以。很早以前用过。
    johnnyb
        4
    johnnyb  
       2014-07-25 08:56:06 +08:00   ❤️ 1
    $ npm install -g served
    $ served $PORT

    一直用这个共享视频文件,手机播放拖放进度无压力
    chuangbo
        5
    chuangbo  
    OP
       2014-07-25 09:32:18 +08:00
    @robbielj
    @clino
    @est
    @johnnyb 谢谢大家。都看了一下,应该都符合要求,似乎 served 这个只有 1 个 Star 的项目是安装最简单的。
    hr6r
        6
    hr6r  
       2014-07-25 14:01:24 +08:00
    npm 还有一个 anywhere
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1106 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 18:50 · PVG 02:50 · LAX 11:50 · JFK 14:50
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.