I'm using Apaches HttpClient with a PostMethod to post an xml document to a server. (the xmldocument is the only parameter - xml=<xmldocument>)
In return I get a html-snippet.
I need to set the ContentType and encoding in the header of the post.
I know how to do it (setRequestHeader() method), but not sure what value I should use for ContentType?
/best regards, Håkan Jacobsson - System developer in Sweden, Stockholm.