lib/filestack/config.rb in filestack-2.7.0 vs lib/filestack/config.rb in filestack-2.8.0
- old
+ new
@@ -20,9 +20,11 @@
'Filestack-Source' => "Ruby-#{VERSION}",
'Content-Type' => "application/json",
'Accept-Encoding' => "application/json"
}.freeze
+ DEFAULT_UPLOAD_MIMETYPE = 'application/octet-stream'
+
INTELLIGENT_ERROR_MESSAGES = ['BACKEND_SERVER', 'BACKEND_NETWORK', 'S3_SERVER', 'S3_NETWORK']
def self.multipart_start_url
"https://upload.filestackapi.com/multipart/start"
end