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 REGTESTS: Add reg tests for the HTTP return action 2020-02-06 15:13:04 +01:00
acl_cli_spaces.vtc REGTESTS: cli: add delay 0.1 before connect to cli 2024-10-16 22:00:58 +02:00
agents.acl REGTEST: http-rules: test spaces in ACLs 2020-06-19 14:32:55 +02:00
converters_ipmask_concat_strcmp_field_word.map REGTEST: rename the reg test files. 2019-04-23 15:37:03 +02:00
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 BUG/MEDIUM: rules: Be able to use captures defined in defaults section 2022-04-25 15:28:21 +02:00
del_header.vtc REGTESTS: extend the default I/O timeouts and make them overridable 2021-11-18 17:57:11 +01:00
except-forwardfor-originalto.vtc REGTESTS: extend the default I/O timeouts and make them overridable 2021-11-18 17:57:11 +01:00
forwarded-header-7239.vtc OPTIM: http_ext: avoid useless copy in http_7239_extract_{ipv4,ipv6} 2024-03-25 16:24:15 +01:00
h1or2_to_h1c.vtc REGTESTS: silence warning "previous 'http-response' action is final" 2024-11-19 08:06:26 +01:00
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
http-err-fail.vtc MEDIUM: http: add the ability to redefine http-err-codes and http-fail-codes 2024-01-11 15:10:08 +01:00
ifnone-forwardfor.vtc REGTESTS: Do not use REQUIRE_VERSION for HAProxy 2.5+ (3) 2023-08-15 11:29:13 +02:00
lf-file.txt REGTESTS: Add reg tests for the HTTP return action 2020-02-06 15:13:04 +01:00
map_ordering.map MINOR: map: mapfile ordering also matters for tree-based match types 2024-01-11 11:13:54 +01:00
map_ordering.vtc MINOR: map: mapfile ordering also matters for tree-based match types 2024-01-11 11:13:54 +01:00
map_redirect-be.map REGTEST: rename the reg test files. 2019-04-23 15:37:03 +02:00
map_redirect.map MINOR: http-rules: add a new "ignore-empty" option to redirects. 2021-09-02 17:06:18 +02:00
map_redirect.vtc REGTESTS: silence the "log format ignored" warnings 2024-11-19 08:06:26 +01:00
map_regm_with_backref.map REGTEST: rename the reg test files. 2019-04-23 15:37:03 +02:00
map_regm_with_backref.vtc REGTESTS: extend the default I/O timeouts and make them overridable 2021-11-18 17:57:11 +01:00
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 BUG/MEDIUM: http-ana: fix crash or wrong header deletion by http-restrict-req-hdr-names 2022-08-17 15:52:17 +02:00
strict_rw_mode.vtc REGTESTS: Remove REQUIRE_VERSION=2.2 from all tests 2024-05-29 22:36:15 +02:00