forcedotcom/SalesforceMobileSDK-Android — pull request #18 by superfell (2012-04-24 02:42:34+00:00)
Title: allow caller of RestRequest/RestClient to specify additional http headers to add the the request.

Sometimes additional HTTP headers are needed to be added to requests made by RestClient/RestRequest, e.g. to send X-Chatter-Entity-Encoding:false in the Chatter API.

This allows for that.

I also removed an unneeded setting of the content-type header, as that automatically comes from the supplied HttpEntity