Author: ZHANG Weiyi dochang@gmail.com
Version: 0.12.0
URL: https://github.com/dochang/mb-url
Multiple Backends for URL package.
This package provides several backends for url-retrieve &
url-retrieve-synchronously, which replace the internal implementation.
The motivation of this package is I can't connect HTTPS url behind proxy (Related bugs: #11788, #12636, #18860, msg00756, #10).
As the URL package has supported HTTPS over proxies supporting CONNECT since Emacs 26, this package is no longer recommended. But it can still be used in Emacs 26+.
mb-url is available on MELPA and el-get.
To install mb-url from git repository, clone the repo, then add the repo
dir into load-path.
mb-url depends on cl-lib; The test code also depends on s.
Currently only support url-http.
Install mb-url-http-around-advice to use mb-url-http backends.
(advice-add 'url-http :around 'mb-url-http-around-advice)All backend functions receive (name url buffer default-sentinel), return a
process.
mb-url-http-backend indicates the current backend. If the backend is
nil, which means no backend, url-http will be called.
E.g.,
(setq mb-url-http-backend 'mb-url-http-curl)NOTE: All clients are required to support automatically decompressing response bodies.
cURL backend for url-http.
cURL program.
cURL switches.
HTTPie backend for url-http.
HTTPie program.
HTTPie switches.
Content encodings which HTTPie supports to decode.
If your HTTPie supports to decode a encoding like br, put the encoding
into this list.
By default, HTTPie supports to decode gzip and deflate.
A function to fix the value of Content-Encoding for HTTPie. Default
value is mb-url-http-httpie-delete-content-encoding-from-list.
GPLv3
https://github.com/nicferrier/curl-url-retrieve
Converted from mb-url.el by el2markdown.