Skip to content

Commit

Permalink
Etags must be quoted in the 304 response too
Browse files Browse the repository at this point in the history
  • Loading branch information
mmzeeman committed May 17, 2014
1 parent f68bb6e commit 7a47257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webmachine_decision_core.erl
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ respond(Code, Rs, Rd) ->
{Etag, RsEt, RdEt0} = controller_call(generate_etag, Rs, RdNoCT),
RdEt = case Etag of
undefined -> RdEt0;
ETag -> wrq:set_resp_header("ETag", ETag, RdEt0)
ETag -> wrq:set_resp_header("ETag", webmachine_util:quoted_string(ETag), RdEt0)
end,
{Expires, RsExp, RdExp0} = controller_call(expires, RsEt, RdEt),
RdExp = case Expires of
Expand Down

0 comments on commit 7a47257

Please sign in to comment.