           headers:           response.headers
           content:           null
           redirectURL:       response.headers['location']
-          headersSize:       headersSize(response.headers)
+          headersSize:       @resources.headersSize(response.headers)
           bodySize:          bdy.length
         # Add to HAR
         @resources.browser.har.log.entries.push(entry)

        cookies:          [httpRequest.headers.cookie]
        headers:          httpRequest.headers
        queryString:      httpRequest.query
        headersSize:      headersSize(httpRequest.headers)
        bodySize:         0
      response:         null
      timings:          

      connection:       @resources.connIndex

    protocol = @resources.browser.getProtocol()
    # http is always http/1.1
    if httpRequest.plain
      protocol = 'http/1.1'

    prxy = @resources.browser.getProxy()
    if prxy
