aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_sub_protocol.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-05-16 16:29:24 +0200
committerLoïc Hoguin <[email protected]>2013-05-16 16:29:24 +0200
commitdf73a4d0a5cedf6e14ed148e53ba4caac4f27c74 (patch)
treecd95d8b7fd92079d790ebf9a469f66a870383553 /src/cowboy_sub_protocol.erl
parentf8a78561271fb1c09008a31d46ac8d5987d9f83e (diff)
downloadcowboy-df73a4d0a5cedf6e14ed148e53ba4caac4f27c74.tar.gz
cowboy-df73a4d0a5cedf6e14ed148e53ba4caac4f27c74.tar.bz2
cowboy-df73a4d0a5cedf6e14ed148e53ba4caac4f27c74.zip
Move cowboy_http:status() to cowboy:http_status()
Diffstat (limited to 'src/cowboy_sub_protocol.erl')
-rw-r--r--src/cowboy_sub_protocol.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_sub_protocol.erl b/src/cowboy_sub_protocol.erl
index babc6f2..26ccd7e 100644
--- a/src/cowboy_sub_protocol.erl
+++ b/src/cowboy_sub_protocol.erl
@@ -33,5 +33,5 @@
-> {ok, Req, Env}
| {suspend, module(), atom(), [any()]}
| {halt, Req}
- | {error, cowboy_http:status(), Req}
+ | {error, cowboy:http_status(), Req}
when Req::cowboy_req:req(), Env::cowboy_middleware:env().