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

Don't cache responses with 0 content length #3743

Merged
merged 1 commit into from
Jul 16, 2024

Commits on Jul 11, 2024

  1. Don't cache responses with 0 content length

    I noticed that myopenhab.org sometimes returns http code 200 for an icon and a valid svg content type, but the content length is 0. In that case, change to http code to 500 to avoid caching.
    
    Fixes openhab#3733
    
    Signed-off-by: mueller-ma <[email protected]>
    mueller-ma committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    d81282f View commit details
    Browse the repository at this point in the history