aboutsummaryrefslogtreecommitdiffstats
path: root/test/http_SUITE.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/http_SUITE.erl')
-rw-r--r--test/http_SUITE.erl7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/http_SUITE.erl b/test/http_SUITE.erl
index f0670a9..7f12967 100644
--- a/test/http_SUITE.erl
+++ b/test/http_SUITE.erl
@@ -647,6 +647,13 @@ rest_expires_binary(Config) ->
{_, <<"0">>} = lists:keyfind(<<"expires">>, 1, Headers),
ok.
+rest_last_modified_undefined(Config) ->
+ ConnPid = gun_open(Config),
+ Ref = gun:get(ConnPid, "/simple",
+ [{<<"if-modified-since">>, <<"Fri, 21 Sep 2012 22:36:14 GMT">>}]),
+ {response, nofin, 200, _} = gun:await(ConnPid, Ref),
+ ok.
+
rest_keepalive(Config) ->
ConnPid = gun_open(Config),
Refs = [gun:get(ConnPid, "/simple") || _ <- lists:seq(1, 10)],