Sha256: f908f590eafa3841802014d00b6b8bc22b4eef443ebff63602e268b1eda09b88
Contents?: true
Size: 436 Bytes
Versions: 8
Compression:
Stored size: 436 Bytes
Contents
# frozen_string_literal: true # Released under the MIT License. # Copyright, 2020-2023, by Samuel Williams. require_relative 'split' module Protocol module HTTP module Header # This implementation is not strictly correct according to the RFC-specified format. class ETags < Split def wildcard? self.include?('*') end def match?(etag) wildcard? || self.include?(etag) end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems