anchor.diff:  
       if (?sc_has_dir_listings(SC)) ->
               Directory_allowed = ['GET', 'HEAD', 'OPTIONS'],
  +            IsReentrantRequest = erase(is_reentrant_request),
               if
  +                %% Do not check http method for reentrant requests
  +                IsReentrantRequest == true;
                   Req#http_request.method == 'GET';
                   Req#http_request.method == 'HEAD' ->
                       yaws:outh_set_dyn_headers(Req, H, UT),
  +                    maybe_set_page_options(),
                       P = UT#urltype.fullpath,
                       yaws_ls:list_directory(ARG, CliSock, UT#urltype.data,
                                              P, Req,
  
positive.code:                                         true ->
                                              yaws:outh_set_static_headers(
                                                Req, UT, H, Range),
                                              Do_deliver();
                                          false ->
                                              deliver_xxx(CliSock, Req, 412)
  
negative.code:                                                 true ->
                                                      yaws:outh_set_static_headers
                                                        (Req, UT, H, Range),
                                                      maybe_set_page_options(),
                                                      Do_deliver();
                                                  false ->
                                                      yaws:outh_set_304_headers(
                                                        Req, UT, H),
                                                      maybe_set_page_options(),
                                                      deliver_accumulated(
                                                        CliSock),
                                                      done_or_continue()
  