haproxy/reg-tests/http-rules
Willy Tarreau dce394a303 REGTESTS: silence warnings about content-type being ignored
The following rules are triggering warnings about content-type being
ignored:

  http-request return content-type "text/plain" if { path /def-4 }
  http-request return content-type "text/plain" file /dev/null hdr "x-custom-hdr" "%[url]"  if { path /empty-file }

Annoyingly, the content-type is mandatory when the file is not empty,
that might be something to revisit in the future to relax at least one
of the rules so that the config doesn't strictly require to know the
file contents upfront.
2024-11-19 08:06:26 +01:00
..
1k.txt
acl_cli_spaces.vtc REGTESTS: cli: add delay 0.1 before connect to cli 2024-10-16 22:00:58 +02:00
agents.acl
converters_ipmask_concat_strcmp_field_word.map
converters_ipmask_concat_strcmp_field_word.vtc REGTESTS: silence the "log format ignored" warnings 2024-11-19 08:06:26 +01:00
default_rules.vtc
del_header.vtc
except-forwardfor-originalto.vtc
forwarded-header-7239.vtc
h1or2_to_h1c.vtc REGTESTS: silence warning "previous 'http-response' action is final" 2024-11-19 08:06:26 +01:00
http-err-fail.vtc
http_after_response.vtc REGTESTS: Remove REQUIRE_VERSION=2.2 from all tests 2024-05-29 22:36:15 +02:00
http_return.vtc REGTESTS: silence warnings about content-type being ignored 2024-11-19 08:06:26 +01:00
ifnone-forwardfor.vtc
lf-file.txt
map_ordering.map
map_ordering.vtc
map_redirect-be.map
map_redirect.map
map_redirect.vtc REGTESTS: silence the "log format ignored" warnings 2024-11-19 08:06:26 +01:00
map_regm_with_backref.map
map_regm_with_backref.vtc
normalize_uri.vtc MINOR: proxy: Rename accept-invalid-http-* options 2024-09-16 22:55:25 +02:00
path_and_pathq.vtc REGTESTS: Remove REQUIRE_VERSION=2.2 from all tests 2024-05-29 22:36:15 +02:00
restrict_req_hdr_names.vtc
strict_rw_mode.vtc REGTESTS: Remove REQUIRE_VERSION=2.2 from all tests 2024-05-29 22:36:15 +02:00