httpbin response

2019-08-12  本文已影响0人  思考的小妮子

http://httpbin.org/  服务端 testing service  服务器在美国 访问速度会慢

(new_env) λ pip install gunicorn httpbin

Requirement already satisfied: gunicorn in c:\users\administrator\desktop\requests\new_env\lib\site-packages (19.9.0)

Collecting httpbin

gunicorn是一个wsgi http server,可以如上一章节所示直接起停,提供http服务。

Gunicorn是一个unix上被广泛使用的高性能的Python WSGI UNIX HTTP Server。

和大多数的web框架兼容,并具有实现简单,轻量级,高性能等特点。

安装完之后

(new_env) λ gunicorn httpbin:app  启动服务

上一篇 下一篇

猜你喜欢

热点阅读