Refactored code to raise 400 Bad Request for extra data-partition-header
osdu/platform/pre-shipping#521