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

Duplicate Content-Length Headers #834

Open
3 tasks done
kendrome opened this issue Dec 14, 2024 · 0 comments
Open
3 tasks done

Duplicate Content-Length Headers #834

kendrome opened this issue Dec 14, 2024 · 0 comments
Assignees
Labels
bug Something isn't working done The underlying issue has been fixed

Comments

@kendrome
Copy link

Perform all steps below and tick them with [x]

  • Check the related part of the Documentation
  • Update openHASP to the latest version
  • Reproduce the issue and describe all steps

Describe the bug

The webserver duplicates the Content-Length header when accessing static files, like CSS, JS, and JSON files. This causes issues with some web clients like aiohttp. This exists on 0.6.3 and 0.7.0-rc12

To Reproduce

Inspect any request of a static file, examples style.css and main.js

Expected behavior

There should only be a single header for Content-Length

Screenshots or video

image

@kendrome kendrome added the bug Something isn't working label Dec 14, 2024
fvanroie pushed a commit that referenced this issue Dec 14, 2024
@fvanroie fvanroie self-assigned this Dec 14, 2024
@fvanroie fvanroie added the done The underlying issue has been fixed label Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working done The underlying issue has been fixed
Projects
None yet
Development

No branches or pull requests

2 participants