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