aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_req.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/cowboy_req.erl')
-rw-r--r--src/cowboy_req.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cowboy_req.erl b/src/cowboy_req.erl
index 90b852e..ee21e98 100644
--- a/src/cowboy_req.erl
+++ b/src/cowboy_req.erl
@@ -15,6 +15,10 @@
-module(cowboy_req).
+-ifdef(OTP_RELEASE).
+-compile({nowarn_deprecated_function, [{erlang, get_stacktrace, 0}]}).
+-endif.
+
%% Request.
-export([method/1]).
-export([version/1]).