mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-15 20:50:24 +00:00
Rename the type http_version/0 to cowboy_http:version/0
This commit is contained in:
parent
314483a0b6
commit
8622dff906
4 changed files with 6 additions and 6 deletions
|
@ -13,7 +13,6 @@
|
|||
%% ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
%% OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
-type http_version() :: {Major::non_neg_integer(), Minor::non_neg_integer()}.
|
||||
-type http_header() :: 'Cache-Control' | 'Connection' | 'Date' | 'Pragma'
|
||||
| 'Transfer-Encoding' | 'Upgrade' | 'Via' | 'Accept' | 'Accept-Charset'
|
||||
| 'Accept-Encoding' | 'Accept-Language' | 'Authorization' | 'From' | 'Host'
|
||||
|
@ -42,7 +41,7 @@
|
|||
%% Request.
|
||||
pid = undefined :: pid(),
|
||||
method = 'GET' :: cowboy_http:method(),
|
||||
version = {1, 1} :: http_version(),
|
||||
version = {1, 1} :: cowboy_http:version(),
|
||||
peer = undefined :: undefined | {inet:ip_address(), inet:ip_port()},
|
||||
host = undefined :: undefined | cowboy_dispatcher:tokens(),
|
||||
host_info = undefined :: undefined | cowboy_dispatcher:tokens(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue