Header case insesnitive

Running with HAProxy 3.1.8 and an old ZKTeco firmware that read the header response Date to synchronize the clock of the device.

HAProxy changes the response to lowercase date, therefore the device does not synch the date.
I am trying putting the following to global
h1-case-adjust date Date

but no change at all as seen bellow

< HTTP/1.1 200 OK
< date: Thu, 24 Jul 2025 13:12:00 GMT
< server: Apache
< expires: Thu, 19 Nov 1981 08:52:00 GMT
< cache-control: no-store, no-cache, must-revalidate
< pragma: no-cache
< set-cookie: PHPSESSID=6e49r86do2pc2gp4lujvk5ctc7; path=/
< content-length: 0
< content-type: text/html; charset=UTF-8

Does this option still work?

Please note that no transformation will be applied unless “option h1-case-adjust-bogus-client” or “option h1-case-adjust-bogus-server” is specified in a proxy.

For example:

frontend www
 option h1-case-adjust-bogus-client

Great, That works
Thank you

1 Like