HTTPie 0.9.6 发布,开源的 HTTP 工具包

来源: OSCHINA
编辑: oschina
2016-08-15 00:00:00

HTTPie 0.9.6 发布了,HTTPie 是一个开源的命令行的 HTTP 工具包,提供命令行交互方式来访问 HTTP 服务。

本次发布改进如下:

  • Added Python 3 as a dependency for Homebrew installations to ensure some of the newer HTTP features work out of the box for macOS users (starting with HTTPie 0.9.4.).

  • Added the ability to unset a request header with Header:, and send an empty value with Header;.

  • Added --default-scheme <URL_SCHEME> to enable things like$ alias https='http --default-scheme=https.

  • Added -I as a shortcut for --ignore-stdin.

  • Added fish shell completion (located in extras/httpie-completion.fishin the Github repo).

  • Updated requests to 2.10.0 so that SOCKS support can be added viapip install requests[socks].

  • Changed the default JSON Accept header from application/jsonto application/json, */*.

  • Changed the pre-processing of request HTTP headers so that any leading and trailing whitespace is removed.

下载地址:

展开阅读全文
18 收藏
分享
3 评论
18 收藏
分享
返回顶部
顶部
返回顶部
顶部