method
content_length=
content_length=(len)
public
Hide source
# File lib/net/http.rb, line 1338 def content_length=(len) unless len @header.delete 'content-length' return nil end @header['content-length'] = [len.to_i.to_s] end