I'm trying to tidy up the private content generation methods in HTTPHC4Impl.
So far I have dealt with PUT/PATCH which I hope is now easier to read - but still working OK! I'm starting on the POST method which is much bigger and messier, so I propose to fix it bit by bit. I've set up PUT/PATCH so that the GUI content encoding will be used if present (defaulting to ISO-8859-1 as used by HC4 for content). A local MIME type field will overide any Content-Type header supplied by a Header Manager. This should be OK for POST too, where the POST body is completely specified by nameless parameters or a nameless file.
