When using tor some information about your device like operating system can be accessed by the onion service which is sent in request headers and similarly some information about onion service like server software can be accessed by a user in response headers.
This is just so unecesary and only causes anonymity and privacy issues. Why doesn't tor just remove all unecesary headers?