moving http to rdb