anchor.diff:  
   
   % session handler
  -handle_id_req(#httpd{method='POST', mochi_req=MochiReq}=Req) -> ok
  +handle_id_req(#httpd{method='POST'}=Req) -> ok
       , case couch_config:get("httpd", "browserid_verify_url", undefined)
           of undefined -> ok
               % Bad config.
  
positive.code: 
  
  % Login handler with Browser ID.
  handle_id_req(#httpd{method='POST', mochi_req=MochiReq}=Req, VerifyURL) ->
      ReqBody = MochiReq:recv_body(),
      Form = case MochiReq:get_primary_header_value("content-type") of
          % content type should be json
  
negative.code:     Assertion = couch_util:get_value("assertion", Form, ""),
      Audience = MochiReq:get_header_value("host"),
      case verify_id(VerifyURL, Assertion, Audience) of
      {error, _Reason} ->
          % Send client an error response, couch_util:send_err ...
          not_implemented;
      ok ->
          % Set the cookie, send a redirect?
          not_implemented
      end;
  
  handle_id_req(_Req, _VerifyURL) ->
      % Send 405
      not_implemented.
  
  