HTTP: fixed bug on returning response when accepts is */* like with curl