Skip to content

Commit

Permalink
Revise RFC in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
awagner-mainz authored May 18, 2022
1 parent eae738d commit 172a411
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions connegmatcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ type CharsetOrEncoding struct {
// COMPATIBILITY NOTE: This module is still experimental and is not
// subject to Caddy's compatibility guarantee.
type MatchConneg struct {
// List of content/mime types to match against (W3C RFC 2616, section 14.1). Default: Empty list
// List of content/mime types to match against ([IETF RFC 7231, section 5.3.2](https://datatracker.ietf.org/doc/html/rfc7231#section-5.3.2)). Default: Empty list
MatchTypes []string `json:"match_types,omitempty"`
// List of language codes to match against (W3C RFC 2616, section 14.4). Default: Empty list
// List of language codes to match against ([IETF RFC 7231, section 5.3.5](https://datatracker.ietf.org/doc/html/rfc7231#section-5.3.5)). Default: Empty list
MatchLanguages []string `json:"match_languages,omitempty"`
// List of character sets to match against (W3C RFC 2616, section 14.2). Default: Empty list
// List of character sets to match against ([IETF RFC 7231, section 5.3.3](https://datatracker.ietf.org/doc/html/rfc7231#section-5.3.3)). Default: Empty list
MatchCharsets []string `json:"match_charsets,omitempty"`
// List of encodings to match against (W3C RFC 2616, section 14.3). Default: Empty list
// List of encodings to match against ([IETF RFC 7231, section 5.3.4](https://datatracker.ietf.org/doc/html/rfc7231#section-5.3.4)). Default: Empty list
MatchEncodings []string `json:"match_encodings,omitempty"`
// Query string parameter key to override content negotiation. Default: ""
ForceTypeQueryString string `json:"force_type_query_string,omitempty"`
Expand Down

0 comments on commit 172a411

Please sign in to comment.