Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@polarctos
Copy link
Contributor

A workaround for issue #848 where jclouds is not capable of properly handling HTTP 304 responses.

Adds an optional middleware NoCacheBlobStore that for GET requests cleans the GetOptions from the following conditional headers:

  • If-None-Match
  • If-Match
  • If-Modified-Since
  • If-Unmodified-Since

Instead of returning a HTTP 304 in theses cases, always the full object is returned.

Copy link
Owner

@gaul gaul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems useful even if there is a better fix for the jclouds HTTP code issue.

@gaul gaul merged commit 69297fe into gaul:master Aug 27, 2025
3 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