diff options
Diffstat (limited to 'include/http.hrl')
-rw-r--r-- | include/http.hrl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/http.hrl b/include/http.hrl index 0be6652..e807937 100644 --- a/include/http.hrl +++ b/include/http.hrl @@ -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(), |