set accept to */* if not set