Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content-length removed due to double headers issue #14

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

hoijnet
Copy link
Contributor

@hoijnet hoijnet commented Nov 2, 2024

Recent changes in the swipl library seem to have added internal content-length support, whereas the tus protocol implementation added two additional content-length specifications that are now obsolete. The issues caused a double Content-length header which made tus violate header specifications and fail protocol validation of modern reverse proxies such as Nginx and Envoy.

By removing the Content-length specification from the tus library, the Content-length header is correctly added when necessary without adding the header manually.

@GavinMendelGleason GavinMendelGleason merged commit c499774 into terminusdb:main Nov 5, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants