Skip to content

Conversation

@colbyfayock
Copy link
Collaborator

Description

The CldUploadWidget makes a request to an API endpoint when signing requests and currently doesn't pass along any headers such as Content-Type.

This explicitly defines them as the payload as application/json.

#379

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Fix or improve the documentation
  • This change requires a documentation update

Checklist

  • I have followed the contributing guidelines of this project as mentioned in CONTRIBUTING.md
  • I have created an issue ticket for this PR
  • I have checked to ensure there aren't other open Pull Requests for the same update/change?
  • I have performed a self-review of my own code
  • I have run tests locally to ensure they all pass
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes needed to the documentation

@vercel
Copy link

vercel bot commented Jan 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
next-cloudinary ✅ Ready (Inspect) Visit Preview Jan 19, 2024 2:11pm

@colbyfayock colbyfayock merged commit 4f86a20 into beta Jan 19, 2024
@colbyfayock colbyfayock deleted the beta+feat/379-clduploadwidget-content-type branch January 19, 2024 14:14
github-actions bot pushed a commit that referenced this pull request Jan 19, 2024
# [6.0.0-beta.4](v6.0.0-beta.3...v6.0.0-beta.4) (2024-01-19)

### Features

* Add Content-Type to CldUploadWidget Signature Headers ([#418](#418)) ([4f86a20](4f86a20))

### BREAKING CHANGES

* CldUploadWidget signature endpoint now sets content-type as application/json
@github-actions
Copy link

🎉 This PR is included in version 6.0.0-beta.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants