parseContentLength: Parse HTTP Response Header for Content Length

View source: R/parseContentLength.R

parseContentLengthR Documentation

Parse HTTP Response Header for Content Length

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.

Usage

parseContentLength(h)

Arguments

h

string containing the HTTP response header

Details

Internal function

Author(s)

Seth Falcon


Bioconductor/pkgDepTools documentation built on Nov. 19, 2022, 1:32 a.m.