module Webmachine::Resource::EntityTags

Public Instance Methods

weak_etag(str) click to toggle source

Marks a generated entity tag (etag) as “weak”, meaning that other representations of the resource may be semantically equivalent. @return [WeakETag] a weak version of the given ETag string @param [String] str the ETag to mark as weak @see tools.ietf.org/html/rfc2616#section-13.3.3 @see tools.ietf.org/html/rfc2616#section-14.19

# File lib/webmachine/resource/entity_tags.rb, line 12
def weak_etag(str)
  WeakETag.new(str)
end