code: public void doHttpPut(String url, String templateName, Object model, HttpResponse result) {
          doHttpPut(url, templateName, model, result, null, XmlHttpResponse.CONTENT_TYPE_XML_TEXT_UTF8);
      }
docs: Performs PUT to supplied url of result of applying template with model.
  @param url url to put to.
  @param templateName name of template to use.
  @param model model for template.
  @param result result to populate with response.