Changed rpc_handler back to using HttpResponse