You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using your repo to troubleshoot a production issue wherein we were receiving 'Duplicate Content-Length' error while making a call to an API. So, we introduced a proxy between the application and the API. Ever since we introduced the proxy the issue disappeared. We are pretty sure that the API team didn't fix their code as they are waiting on us to capture the error scenario.
My queries here are as below.
Does OpenResty or nginx or luajson that we are using is removing the duplicate content-length header if the values are same ?
If the above is true, can you please point me to the docs. Also, is there a way for us to log the headers before it gets removed ?
Are we inadvertently removing it as part of the lua script ?
I have attached the docker file, nginx.conf and lua script as a zip file.
Please clarify as we are lost on what exactly is happening here. Archive.zip
The text was updated successfully, but these errors were encountered:
We are using your repo to troubleshoot a production issue wherein we were receiving 'Duplicate Content-Length' error while making a call to an API. So, we introduced a proxy between the application and the API. Ever since we introduced the proxy the issue disappeared. We are pretty sure that the API team didn't fix their code as they are waiting on us to capture the error scenario.
My queries here are as below.
I have attached the docker file, nginx.conf and lua script as a zip file.
Please clarify as we are lost on what exactly is happening here.
Archive.zip
The text was updated successfully, but these errors were encountered: