commit | 52f5db2a44d153797ffd547887a3568e3218c4fc | [log] [tgz] |
---|---|---|
author | Robin H. Johnson <robbat2@gentoo.org> | Sun Jan 01 13:10:52 2017 -0800 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jan 06 11:57:44 2017 +0100 |
tree | 1ab7df102f8f2289453e4b5f3e3ab4e84db645ee | |
parent | 2afff9c2d6ce6d8f55b1664e76b1d30085540c7b [diff] |
MINOR: http: custom status reason. The older 'rsprep' directive allows modification of the status reason. Extend 'http-response set-status' to take an optional string of the new status reason. http-response set-status 418 reason "I'm a coffeepot" Matching updates in Lua code: - AppletHTTP.set_status - HTTP.res_set_status Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>