Class: RestClient::Payload::Base

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

Instance Method Summary collapse

Instance Method Details

#headersObject



317
318
319
# File 'lib/aliyun/oss/http.rb', line 317

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