diff options
author | Loïc Hoguin <[email protected]> | 2012-01-23 09:28:29 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2012-01-23 09:28:29 +0100 |
commit | 8622dff906a1bdddf588e1fe006307488a824d3a (patch) | |
tree | f957733116d115154a4b6602d18948acb0937398 /include/http.hrl | |
parent | 314483a0b6609873f5c215d24e662016374128ec (diff) | |
download | cowboy-8622dff906a1bdddf588e1fe006307488a824d3a.tar.gz cowboy-8622dff906a1bdddf588e1fe006307488a824d3a.tar.bz2 cowboy-8622dff906a1bdddf588e1fe006307488a824d3a.zip |
Rename the type http_version/0 to cowboy_http:version/0
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(), |