mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Remove the redundant include/ from -include("http.hrl")
This commit is contained in:
parent
ac1424fd6a
commit
d9212c21dd
5 changed files with 4 additions and 5 deletions
|
@ -51,7 +51,6 @@
|
|||
|
||||
-export_type([method/0, uri/0, version/0, header/0, headers/0, status/0]).
|
||||
|
||||
-include("include/http.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
|
||||
%% Parsing.
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
-export([start_link/4]). %% API.
|
||||
-export([init/4, parse_request/1, handler_loop/3]). %% FSM.
|
||||
|
||||
-include("include/http.hrl").
|
||||
-include("http.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
|
||||
-record(state, {
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
compact/1, transport/1
|
||||
]). %% Misc API.
|
||||
|
||||
-include("include/http.hrl").
|
||||
-include("http.hrl").
|
||||
|
||||
%% Request API.
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
expires :: undefined | no_call | calendar:datetime()
|
||||
}).
|
||||
|
||||
-include("include/http.hrl").
|
||||
-include("http.hrl").
|
||||
|
||||
%% @doc Upgrade a HTTP request to the REST protocol.
|
||||
%%
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
-export([upgrade/4]). %% API.
|
||||
-export([handler_loop/4]). %% Internal.
|
||||
|
||||
-include("include/http.hrl").
|
||||
-include("http.hrl").
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
|
||||
-type opcode() :: 0 | 1 | 2 | 8 | 9 | 10.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue