推荐学习书目
› 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 · Jul 25, 2014 · 10780 views
    This topic created in 4444 days ago, the information mentioned may be changed or developed.
    Supplement 1  ·  Jun 22, 2018
    目前用 caddy
    6 replies  •  2014-07-25 14:01:24 +08:00
    robbielj
        1
    robbielj  
       Jul 25, 2014   ❤️ 1
    clino
        2
    clino  
       Jul 25, 2014 via Android   ❤️ 1
    https://github.com/lerry/httpserver 这个我记得可以断点?
    est
        3
    est  
       Jul 25, 2014   ❤️ 1
    code.google.com/p/mongoose 这个貌似可以。很早以前用过。
    johnnyb
        4
    johnnyb  
       Jul 25, 2014   ❤️ 1
    $ npm install -g served
    $ served $PORT

    一直用这个共享视频文件,手机播放拖放进度无压力
    chuangbo
        5
    chuangbo  
    OP
       Jul 25, 2014
    @robbielj
    @clino
    @est
    @johnnyb 谢谢大家。都看了一下,应该都符合要求,似乎 served 这个只有 1 个 Star 的项目是安装最简单的。
    hr6r
        6
    hr6r  
       Jul 25, 2014
    npm 还有一个 anywhere
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   889 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 49ms · UTC 22:23 · PVG 06:23 · LAX 15:23 · JFK 18:23
    ♥ Do have faith in what you're doing.