diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cowboy_rest.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_rest.erl b/src/cowboy_rest.erl index b760df2..33ef1d7 100644 --- a/src/cowboy_rest.erl +++ b/src/cowboy_rest.erl @@ -782,7 +782,7 @@ if_modified_since_now(Req, State, IfModifiedSince) -> if_modified_since(Req, State, IfModifiedSince) -> try last_modified(Req, State) of - {no_call, Req2, State2} -> + {undefined, Req2, State2} -> method(Req2, State2); {LastModified, Req2, State2} -> case LastModified > IfModifiedSince of |