Attempting to make it work with accepts headers