summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/etap/src/etap_web.erl1
-rw-r--r--apps/oauth/src/oauth_http.erl1
2 files changed, 2 insertions, 0 deletions
diff --git a/apps/etap/src/etap_web.erl b/apps/etap/src/etap_web.erl
index fb7aee16..1ddc0b91 100644
--- a/apps/etap/src/etap_web.erl
+++ b/apps/etap/src/etap_web.erl
@@ -26,6 +26,7 @@
%% @todo Support cookies.
%% @doc Provide testing functionality for web requests.
-module(etap_web).
+-compile({nowarn_deprecated_function, {http,request,4}}).
-export([simple_200/2, simple_404/2, build_request/4]).
diff --git a/apps/oauth/src/oauth_http.erl b/apps/oauth/src/oauth_http.erl
index bf5a4bac..78833650 100644
--- a/apps/oauth/src/oauth_http.erl
+++ b/apps/oauth/src/oauth_http.erl
@@ -1,4 +1,5 @@
-module(oauth_http).
+-compile({nowarn_deprecated_function, {http,request,4}}).
-export([get/1, post/2, response_params/1, response_body/1, response_code/1]).