properly responds to accepts header