lib/bandwidth-sdk/api/media_api.rb in bandwidth-sdk-11.0.0.pre.beta.1.1 vs lib/bandwidth-sdk/api/media_api.rb in bandwidth-sdk-11.0.0.pre.beta.2.0

- old
+ new

@@ -4,11 +4,11 @@ #Bandwidth's Communication APIs The version of the OpenAPI document: 1.0.0 Contact: letstalk@bandwidth.com Generated by: https://openapi-generator.tech -OpenAPI Generator version: 6.4.0 +OpenAPI Generator version: 6.5.0 =end require 'cgi' @@ -273,10 +273,10 @@ # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json', 'application/ogg', 'application/pdf', 'application/rtf', 'application/zip', 'application/x-tar', 'application/xml', 'application/gzip', 'application/x-bzip2', 'application/x-gzip', 'application/smil', 'application/javascript', 'audio/mp4', 'audio/mpeg', 'audio/ogg', 'audio/flac', 'audio/webm', 'audio/wav', 'audio/amr', 'audio/3gpp', 'image/bmp', 'image/gif', 'image/jpeg', 'image/pjpeg', 'image/png', 'image/svg+xml', 'image/tiff', 'image/webp', 'image/x-icon', 'text/css', 'text/csv', 'text/calendar', 'text/plain', 'text/javascript', 'text/vcard', 'text/vnd.wap.wml', 'text/xml', 'video/avi', 'video/mp4', 'video/mpeg', 'video/ogg', 'video/quicktime', 'video/webm', 'video/x-ms-wmv']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end header_params[:'Content-Type'] = opts[:'content_type'] if !opts[:'content_type'].nil? header_params[:'Cache-Control'] = opts[:'cache_control'] if !opts[:'cache_control'].nil? # form parameters