Parse HTTP Response Header for Content Length
解析HTTP响应头内容长度
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Given a string containing an HTTP response header, extract the "Content-Length" header and convert it to a numeric value. If no such header is found, return NA.
给定一个字符串,其中包含HTTP响应头,提取"Content-Length"头,将其转换为一个数值。如果没有这样的头球攻门被找到,返回NA。
用法----------Usage----------
parseContentLength(h)
参数----------Arguments----------
参数:h
string containing the HTTP response header
字符串,其中包含HTTP响应头