Skip to content

Commit 7ef281e

Browse files
authored
DX-2812 Fix Media Upload Content-Type (#59)
* DX-2812 Fix Media Upload Content-Type * gem version * revert to octet-stream
1 parent a520ba9 commit 7ef281e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bandwidth.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Gem::Specification.new do |s|
22
s.name = 'bandwidth-sdk'
3-
s.version = '10.0.0'
3+
s.version = '10.1.0'
44
s.summary = 'Bandwidth'
55
s.description = 'The official client SDK for Bandwidht\'s Voice, Messaging, MFA, and WebRTC APIs'
66
s.authors = ['Bandwidth']

test/integration/test_integration.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def test_upload_download_media
8282
media = "Hello world"
8383

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

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

0 commit comments

Comments
 (0)