Adding correct header type to _sendRequest_