anchor.diff:  -define(PART_SIZE, 100000).
   -define(WINDOW_SIZE, 5).
   -define(DEF_REQ_HEADERS_FILTER, {drop, ["content-length",
  -                                        "transfer-encoding"]}).
  +                                        "transfer-encoding",
  +                                        "ns-server-proxy-timeout"]}).
   -define(DEF_RESP_HEADERS_FILTER, {drop, ["content-length",
                                            "transfer-encoding",
                                            "www-authenticate"]}).
  
positive.code: get_timeout(views, Req) ->
      Params = Req:parse_qs(),
      list_to_integer(proplists:get_value("connection_timeout", Params, "30000"));
  get_timeout(_Service, _Req) ->
      ?TIMEOUT.
  
  auth_token(_Service, Req) ->
      case menelaus_auth:extract_ui_auth_token(Req) of
  
negative.code:             Req) ->
      SendHeaders = filter_headers(RcvdHeaders, ?DEF_RESP_HEADERS_FILTER),
      menelaus_util:respond(Req, {StatusCode, SendHeaders, <<>>});
  handle_resp({error, timeout}, Req) ->
      menelaus_util:respond(Req, {504, [], <<"Gateway Timeout">> });
  handle_resp({error, _Reason}=Error, Req) ->
      ?log_error("http client error ~p~n", [Error]),
      menelaus_util:respond(Req, {500, [], <<"Unexpected server error">> }).
  