ConditionalHeaderTrait
Conditional request HTTP header names (RFC 9110 §13).
Mixed into HttpHeader.
Tags
Table of Contents
Constants
- ETAG : string = 'ETag'
- `ETag` — Entity tag uniquely identifying a representation (RFC 9110 §8.8.3).
- IF_MATCH : string = 'If-Match'
- `If-Match` — Apply the method only if the entity tag matches (RFC 9110 §13.1.1).
- IF_MODIFIED_SINCE : string = 'If-Modified-Since'
- `If-Modified-Since` — Apply the method only if modified since the given date (RFC 9110 §13.1.3).
- IF_NONE_MATCH : string = 'If-None-Match'
- `If-None-Match` — Apply the method only if no entity tag matches (RFC 9110 §13.1.2).
- IF_RANGE : string = 'If-Range'
- `If-Range` — Conditional range request: send the range only if unchanged (RFC 9110 §13.1.5).
- IF_UNMODIFIED_SINCE : string = 'If-Unmodified-Since'
- `If-Unmodified-Since` — Apply the method only if unmodified since the given date (RFC 9110 §13.1.4).
Constants
ETAG
`ETag` — Entity tag uniquely identifying a representation (RFC 9110 §8.8.3).
public
string
ETAG
= 'ETag'
IF_MATCH
`If-Match` — Apply the method only if the entity tag matches (RFC 9110 §13.1.1).
public
string
IF_MATCH
= 'If-Match'
IF_MODIFIED_SINCE
`If-Modified-Since` — Apply the method only if modified since the given date (RFC 9110 §13.1.3).
public
string
IF_MODIFIED_SINCE
= 'If-Modified-Since'
IF_NONE_MATCH
`If-None-Match` — Apply the method only if no entity tag matches (RFC 9110 §13.1.2).
public
string
IF_NONE_MATCH
= 'If-None-Match'
IF_RANGE
`If-Range` — Conditional range request: send the range only if unchanged (RFC 9110 §13.1.5).
public
string
IF_RANGE
= 'If-Range'
IF_UNMODIFIED_SINCE
`If-Unmodified-Since` — Apply the method only if unmodified since the given date (RFC 9110 §13.1.4).
public
string
IF_UNMODIFIED_SINCE
= 'If-Unmodified-Since'