Documentation
¶
Overview ¶
Package httpconditional keeps validators scoped to the original request URL.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Apply ¶
func Apply(req *http.Request, previous *ocispec.Descriptor) bool
Apply only sends validators admitted for the original request URL.
func Metadata ¶
func Metadata(req *http.Request, resp *http.Response, previous *ocispec.Descriptor) (ocispec.Descriptor, bool, error)
Metadata requires usable prior content and a conditional final request for HTTP 304. The shared source executor MUST enforce its success-status policy for body responses.
Types ¶
This section is empty.