fix httpacceptadapter + test