private ODataRequest processQueryOperation(final BatchBodyPart bodyPart, final String baseUri,
final BatchQueryOperation queryOperation) throws BatchDeserializerException {
if (bodyPart.isChangeSet()) {
BatchQueryOperation encapsulatedQueryOperation = ((BatchChangeSetPart) queryOperation).getRequest();
handleContentId(queryOperation, encapsulatedQueryOperation);
<BUG>validateHeader(queryOperation, true);
</BUG>
return createRequest(encapsulatedQueryOperation, baseUri, bodyPart.isChangeSet());
} else {
return createRequest(queryOperation, baseUri, bodyPart.isChangeSet());

private ODataRequest processQueryOperation(final BatchBodyPart bodyPart, final String baseUri,
final BatchQueryOperation queryOperation) throws BatchDeserializerException {
if (bodyPart.isChangeSet()) {
BatchQueryOperation encapsulatedQueryOperation = ((BatchChangeSetPart) queryOperation).getRequest();
handleContentId(queryOperation, encapsulatedQueryOperation);
validateHeaders(queryOperation.getHeaders(), false);
return createRequest(encapsulatedQueryOperation, baseUri, bodyPart.isChangeSet());
} else {
return createRequest(queryOperation, baseUri, bodyPart.isChangeSet());
