instance method Net::HTTPHeader#content_length
content_length -> Integer|nil
-
Content-Length: ヘッダフィールドの表している値を整数で返します。
ヘッダが設定されていない場合には nil を返します。
- [EXCEPTION] Net::HTTPHeaderSyntaxError:
- フィールドの値が不正である場合に 発生します。
module Net::HTTPHeader
content_length -> Integer|nil
Content-Length: ヘッダフィールドの表している値を整数で返します。
ヘッダが設定されていない場合には nil を返します。