Cannot DELETE document from DELL ECS via HAproxy

Hello,
I am running HAProxy version 2.7.2
I have access to DELL ECS via HAproxy.
I am using IBM Filenet application to connect to the ECS.
When I connect to the ECS directly, there is no issue.
When I configure IBM Filenet using HAproxy, I can only READ/WRITE documents from/to DELL ECS,
but cannot DELETE document from ECS.

Here below is the error I got on Filenet when trying to DELETE a document:
nested exception is: javax.ejb.EJBTransactionRolledbackException: nested exception is: javax.ejb.EJBException: See nested exception; nested exception is: com.filenet.api.exception.EngineRuntimeException: FNRCC0091E: CONTENT_FCP_GET_RETENTION_PERIOD_FAILED: The retention period for the content element could not be retrieved for this provider. Device Id: [{0CFB11E1-0037-48F3-A079-2CCBE5025215}]; Device Name: [FCD_AWS_S3_INT1]; Root Cause [FNRCC0255: Unexpected missing response header Content-Length for storage device {1}.]

And from the haproxy.log:
Oct 17 12:35:35 localhost haproxy[34684]: 10.x.x.x:44695 [17/Oct/2023:12:35:35.491] https-in~ s3_backend/pecsdata01 0/0/0/142/142 200 416 - - ---- 5/1/0/0/0 0/0 “HEAD /filenet-prod-s3/51C3D452-9128-4216-BA7D-35414904DB88-0?versionId=null HTTP/1.1”

Here below is my HAProxy configuration:
frontend http-in
bind *:80 name http
default_backend s3_backend
# Define the hostnames
acl host_s3 hdr(host) -i -m dom ecsproxy.mydomain
acl host_s3_ip hdr(host) -i -m dom 10.x.x.x
# Route to backend
use_backend s3_backend if host_s3
use_backend s3_backend if host_s3_ip

frontend https-in
bind *:443 name https ssl crt /etc/haproxy/ecsproxy.mydomain.pem
http-request add-header X-Proto https if { ssl_fc }
# Define the hostnames
acl host_s3 hdr(host) -i -m dom ecsproxy.mydomain
acl host_s3_ip hdr(host) -i -m dom 10.x.x.x
# Route to backend
use_backend s3_backend if host_s3
use_backend s3_backend if host_s3_ip

backend s3_backend
option httpchk
http-check connect
http-check send meth GET uri /?ping ver HTTP/1.1 hdr Host ecsproxy.mydomain
http-check expect status 200-399
# List of data nodes. S3 runs on port 9020.
server pecsdata01 10.x.x.1:9020 check
server pecsdata02 10.x.x.2:9020 check
server pecsdata03 10.x.x.3:9020 check
server pecsdata04 10.x.x.4:9020 check
server pecsdata05 10.x.x.5:9020 check
server pecsdata06 10.x.x.6:9020 check

Is there onyone who can help how to fix this issue?
Any help would be appreciated.

B.