Skip to content

Commit

Permalink
Etags must be quoted
Browse files Browse the repository at this point in the history
  • Loading branch information
mmzeeman committed May 17, 2014
1 parent 0a483d6 commit f68bb6e
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 @@ -544,7 +544,7 @@ decision(v3o18, Rs, Rd) ->
{Etag, RsEtag, RdEtag0} = controller_call(generate_etag, Rs, Rd),
RdEtag = case Etag of
undefined -> RdEtag0;
ETag -> wrq:set_resp_header("ETag", ETag, RdEtag0)
ETag -> wrq:set_resp_header("ETag", webmachine_util:quoted_string(ETag), RdEtag0)
end,

{LastModified, RsLM, RdLM0} = controller_call(last_modified, RsEtag, RdEtag),
Expand Down

0 comments on commit f68bb6e

Please sign in to comment.