Class: RestClient::Payload::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/aliyun_sdk/oss/http.rb

Instance Method Summary collapse

Instance Method Details

#headersObject



333
334
335
# File 'lib/aliyun_sdk/oss/http.rb', line 333

def headers
  ({'content-length' => size.to_s} if size) || {}
end