parseContentLength        package:pkgDepTools        R Documentation

_P_a_r_s_e _H_T_T_P _R_e_s_p_o_n_s_e _H_e_a_d_e_r _f_o_r _C_o_n_t_e_n_t _L_e_n_g_t_h

_D_e_s_c_r_i_p_t_i_o_n:

     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'.

_U_s_a_g_e:

     parseContentLength(h)

_A_r_g_u_m_e_n_t_s:

       h: string containing the HTTP response header

_D_e_t_a_i_l_s:

     Internal function

_A_u_t_h_o_r(_s):

     Seth Falcon

