mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-13 06:54:37 +00:00
a5afb0bf36
2 reg tests are added. The first one ensures the declaration of errors in a proxy is fonctionnal. It declares http-errors sections and declare error files using the errorfile and the errorfiles directives, both in the default section and the frontend sections. The second one ensures it is possible to use a custom error file for an HTTP deny rule.
10 lines
209 B
HTTP
10 lines
209 B
HTTP
HTTP/1.1 400 Bad request
|
|
Cache-Control: no-cache
|
|
Connection: close
|
|
Content-Type: text/html
|
|
x-err-type: errors-2
|
|
|