anchor.diff:          ok
       end,
       handle_streaming(F, Req, HTTPRes, Res).
  -
  -handle_init_status_post(Req) ->
  -    %% parameter example: value=done, value=welcome, value=someOpaqueValueFromJavaScript
  -    %%
  -    Params = Req:parse_post(),
  -    case change_init_status(proplists:get_value("value", Params)) of
  -        false -> Req:respond({400, add_header(), "Attempt to initStatus but missing value parameter.\n"});
  -        true  -> Req:respond({200, add_header(), []})
  -    end.
  -
  -change_init_status(undefined) ->
  -    ns_log:log(?MODULE, ?INIT_STATUS_BAD_PARAM, "Received request to initStatus but missing value parameter.", []),
  -    false;
  -
  -change_init_status(InitStatus) ->
  -    ns_log:log(?MODULE, ?INIT_STATUS_UPDATED, "initStatus updated to ~p.", [InitStatus]),
  -    ns_config:set(init_status, [{value, InitStatus}]),
  -    true.
   
   handle_join(Req) ->
       %% paths:
  
positive.code:                     % No need to restart right here, as our ns_config
                      % event watcher will do it later if necessary.
              end,
              change_init_status(InitStatus),
              Host = Req:get_header_value("host"),
              PureHostName = case string:tokens(Host, ":") of
                                 [Host] -> Host;
  
negative.code:                                                             User = menelaus_auth:extract_auth(username, R),
                                                              ns_log:log(?MODULE, ?UI_SIDE_ERROR_REPORT, "Client-side error-report for user ~p on node ~p: ~p~n",
                                                                         [User, node(), binary_to_list(R:recv_body())]),
                                                              R:ok({"text/plain", add_header(), <<
  "">>})
                                                      end};
                               ["erlwsh" | _] ->
                                   {done, erlwsh_web:loop(Req, erlwsh_deps:local_path(["priv", "www"]))};
  