anchor.diff:      , send_from_dir(Req, Mobile_dir)
       .
   
  -old_futon(#httpd{}=Req) -> ok
  +browser_futon(#httpd{}=Req) -> ok
       % XXX: For now, use the same config as favicon.ico.
       , case couch_config:get("httpd_global_handlers", "favicon.ico")
           of undefined -> ok
  
positive.code: mobile_enabled_futon(#httpd{mochi_req=MochiReq}=Req, Mobile_dir) -> ok
      , case MochiReq:get_header_value("user-agent")
          of undefined -> ok
              , old_futon(Req)
          ; Unknown when not is_list(Unknown) -> ok
              , ?LOG_ERROR("Unknown user-agent: ~p", [Unknown])
              , old_futon(Req)
          ; User_agent -> ok
              , ?LOG_DEBUG("Considering mobile futon\n~p", [User_agent])
              , case re:run(User_agent, ?MOBILE_UA_RE, [caseless])
  
negative.code:                     , mobile_enabled_futon(Req, Mobile_dir)
                  ; Else -> ok
                      , ?LOG_DEBUG("Bad mobilefuton dir ~p: ~p", [Mobile_dir, Else])
                      , browser_futon(Req)
                  end
          end
      .
  