Hi,

I've recently upgrade from libmicrohttpd 0.9.70 to 0.9.75 in my project (for 
reference, this one: https://github.com/telefonicaid/fiware-orion).

I have observed a curious change of behavior in response headers. In 0.9.70 the 
server responses like this:

HTTP/1.1 400 Bad Request
Content-Length: 129
Content-Type: application/json
Fiware-Correlator: 86753370-9108-11ed-91ea-000c29583ca5
Date: Tue, 10 Jan 2023 17:02:11 GMT

But in 0.9.75 response is like this:

HTTP/1.1 400 Bad Request
Date: Tue, 10 Jan 2023 17:02:11 GMT
Fiware-Correlator: 86753370-9108-11ed-91ea-000c29583ca5
Content-Type: application/json
Content-Length: 129

That is, same headers but in different order.

At this point, I have a couple of questions, please:


·         Why this has changed between 0.9.70 and 0.9.75? I have tried to find 
the reason in the changelog at 
https://github.com/Karlson2k/libmicrohttpd/blob/master/ChangeLog but it is a 
bit confusing...

·         Is there any way of keeping the older behavior?

Any feedback is welcome. Thanks in advance for that!

Best regards,

------
Fermín

________________________________

Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, puede 
contener información privilegiada o confidencial y es para uso exclusivo de la 
persona o entidad de destino. Si no es usted. el destinatario indicado, queda 
notificado de que la lectura, utilización, divulgación y/o copia sin 
autorización puede estar prohibida en virtud de la legislación vigente. Si ha 
recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente 
por esta misma vía y proceda a su destrucción.

The information contained in this transmission is confidential and privileged 
information intended only for the use of the individual or entity named above. 
If the reader of this message is not the intended recipient, you are hereby 
notified that any dissemination, distribution or copying of this communication 
is strictly prohibited. If you have received this transmission in error, do not 
read it. Please immediately reply to the sender that you have received this 
communication in error and then delete it.

Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinatário, pode 
conter informação privilegiada ou confidencial e é para uso exclusivo da pessoa 
ou entidade de destino. Se não é vossa senhoria o destinatário indicado, fica 
notificado de que a leitura, utilização, divulgação e/ou cópia sem autorização 
pode estar proibida em virtude da legislação vigente. Se recebeu esta mensagem 
por erro, rogamos-lhe que nos o comunique imediatamente por esta mesma via e 
proceda a sua destruição

Reply via email to