Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Enforce Content-Type requirement on the rest layer and remove deprecated methods #23146
This commit enforces the requirement of Content-Type for the REST layer and removes the deprecated methods in transport requests and their usages.
While doing this, it turns out that there are many places where *Entity classes are used from the apache http client libraries and many of these usages did not specify the content type. The methods that do not specify a content type explicitly have been added to forbidden apis to prevent more of these from entering our code base.