Skip to content

Ensure that direct upload works#4

Open
plabaj wants to merge 3 commits into
rkwap:mainfrom
plabaj:main
Open

Ensure that direct upload works#4
plabaj wants to merge 3 commits into
rkwap:mainfrom
plabaj:main

Conversation

@plabaj

@plabaj plabaj commented Mar 18, 2025

Copy link
Copy Markdown

Ensuring that direct uploads work with Bunny

  • Updated the url_for_direct_upload method to generate a URL based on the region and storage_zone attributes.
  • Modified the headers_for_direct_upload method to include the access_key and set the Content-Type to 'application/octet-stream'.
  • Added a custom_metadata_headers method that currently returns an empty hash.

@rkwap

rkwap commented Mar 20, 2025

Copy link
Copy Markdown
Owner

@plabaj Thanks for raising the PR. Will check over this weekend.

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