XML or JSON Selection

When a resource is represented by either XML or JSON content type, select the appropriate content type using the Accept header.