Re: Adding "Content-Type" and other needed headers in the response

2022-07-19 Thread spfma . tech
Hi, Sorry to add a little up but I need to know if there is a way to send existing headers from the backend to the frontend, or if I have to ask the devs to modify their code and remove some tests. Regards Le 28-Jun-2022 13:54:22 +0200, spfma.t...@e.mail.fr a crit: Hi, Thanks for you

Re: Adding "Content-Type" and other needed headers in the response

2022-06-28 Thread spfma . tech
Hi, Thanks for you answer. I have just added "http-after-response add-header Content-Type 'text/html'" at the FE level and now I have the required header. Nice improvement but is there a way to extract the headers and their values coming from the BE and inject them the same way, instead

Re: Adding "Content-Type" and other needed headers in the response

2022-06-28 Thread Aleksandar Lazic
Hi. On Tue, 28 Jun 2022 12:23:15 +0200 spfma.t...@e.mail.fr wrote: > Hi, I have a problem to solve : I never paid attention to the fact HAProxy > (2.5.1-86b093a) did not return HTTP headers in the reponses, because there > was no complaints so far. But now we got one, because of an old

Adding "Content-Type" and other needed headers in the response

2022-06-28 Thread spfma . tech
Hi, I have a problem to solve : I never paid attention to the fact HAProxy (2.5.1-86b093a) did not return HTTP headers in the reponses, because there was no complaints so far. But now we got one, because of an old application which needs at least "Content-Type" as some tests are performed