anchor.diff:  
   
   % Login handler with Browser ID.
  -handle_id_req(#httpd{method='POST', mochi_req=MochiReq}=_Req) ->
  +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:         % Would that mean chunked-encoding?
          % Maybe support that
          not_implemented;
      {ok, Code, _Headers, Body} ->
          case list_to_integer(Code) of
          200 ->
              {Resp} = ?JSON_DECODE(Body),
              ?LOG_DEBUG("Verification response from ~s: ~p", [VerifyURL, Resp]),
              case couch_util:get_value(<<"status">>, Resp) of
              <<"okay">> ->
                  ok
              end
          % Handle other cases
          end
      end.
  
  % vim: sts=4 sw=4 et
  
negative.code:     {error, _Reason} ->
          % Send client an error response, couch_util:send_err ...
          not_implemented;
      {ok, Verified_obj} -> ok
          % tilgovi: Set the cookie, send a redirect?
          % JasonSmith: Does a bear wear a funny hat?
          , ?LOG_DEBUG("Verified:\n~p", [Verified_obj])
          , couch_httpd:send_json(Req, 200, {Verified_obj})
      end;
  
  handle_id_req(_Req) ->
  