     srcReq.on 'response', (srcResp) ->
       is_finished = true
 
-      log srcResp.headers
+      debug_log srcResp.headers
 
       content_length = srcResp.headers['content-length']
 
       if content_length > 5242880
-        four_oh_four(resp, "Content-Length exceeded")
+        four_oh_four(resp, "Content-Length exceeded", url)
       else
         newHeaders =
           'content-type'           : srcResp.headers['content-type']

      url_type = 'query'
      dest_url = QueryString.parse(url.query).url

    log({
      type:     url_type
      url:      req.url
      headers:  req.headers


    transferred_headers.host = url.host

    debug_log transferred_headers

    srcReq = src.request 'GET', query_path, transferred_headers

