Skip to content

Commit

Permalink
DX-2812 Fix Media Upload Content-Type (#59)
Browse files Browse the repository at this point in the history
* DX-2812 Fix Media Upload Content-Type

* gem version

* revert to octet-stream
  • Loading branch information
ckoegel authored Aug 30, 2022
1 parent a520ba9 commit 7ef281e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bandwidth.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = 'bandwidth-sdk'
s.version = '10.0.0'
s.version = '10.1.0'
s.summary = 'Bandwidth'
s.description = 'The official client SDK for Bandwidht\'s Voice, Messaging, MFA, and WebRTC APIs'
s.authors = ['Bandwidth']
Expand Down
2 changes: 1 addition & 1 deletion test/integration/test_integration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def test_upload_download_media
media = "Hello world"

#media upload
@bandwidth_client.messaging_client.client.upload_media(BW_ACCOUNT_ID, media_id, media, :content_type => "application/octet-stream", :cache_control => "no-cache")
@bandwidth_client.messaging_client.client.upload_media(BW_ACCOUNT_ID, media_id, media, :content_type => "text/plain", :cache_control => "no-cache")

#media download
downloaded_media = @bandwidth_client.messaging_client.client.get_media(BW_ACCOUNT_ID, media_id).data
Expand Down

0 comments on commit 7ef281e

Please sign in to comment.