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

fix: LSDV-4711: Presigned proxy redirect should not cache #4100

Merged
merged 1 commit into from
Apr 26, 2023

Conversation

bmartel
Copy link
Contributor

@bmartel bmartel commented Apr 26, 2023

PR fulfills these requirements

  • Commit message(s) and PR title follows the format [fix|feat|ci|chore|doc]: TICKET-ID: Short description of change made ex. fix: DEV-XXXX: Removed inconsistent code usage causing intermittent errors
  • Tests for the changes have been added/updated (for bug fixes/features)
  • Docs have been added/updated (for bug fixes/features)
  • Best efforts were made to ensure docs/code are concise and coherent (checked for spelling/grammatical errors, commented out code, debug logs etc.)
  • Self-reviewed and ran all changes on a local instance (for bug fixes/features)

Change has impacts in these area(s)

(check all that apply)

  • Product design
  • Backend (Database)
  • Backend (API)
  • Frontend

Describe the reason for change

When testing locally with the python server directly, and the CORS fixes from #3991 it seems to cache a 303 redirect, which shouldn't be happening. So for now we will add a header to ensure the browser doesn't cache the redirects, until we have a more comprehensive solution ready.

Which logical domain(s) does this change affect?

Presigned URLS

@netlify
Copy link

netlify bot commented Apr 26, 2023

Deploy Preview for label-studio-docs-new-theme canceled.

Name Link
🔨 Latest commit 6b052e6
🔍 Latest deploy log https://app.netlify.com/sites/label-studio-docs-new-theme/deploys/6449532a8cf3ea0007875f8b

@netlify
Copy link

netlify bot commented Apr 26, 2023

Deploy Preview for heartex-docs canceled.

Name Link
🔨 Latest commit 6b052e6
🔍 Latest deploy log https://app.netlify.com/sites/heartex-docs/deploys/6449532a66ea40000724e888

@github-actions github-actions bot added the fix label Apr 26, 2023
@codecov
Copy link

codecov bot commented Apr 26, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (9e91f31) 76.68% compared to head (6b052e6) 76.68%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #4100   +/-   ##
========================================
  Coverage    76.68%   76.68%           
========================================
  Files          155      155           
  Lines        11669    11671    +2     
========================================
+ Hits          8948     8950    +2     
  Misses        2721     2721           

see 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants