Using REST API to upload crawler-bean.cxml to job directory. But the final name is crawler-bean.xml - missing "C".
Tried different content-type, but Heritrix looks only accept "application/xml".
Java code looks like(Jersey):
webResource.getRequestBuilder().type("application/xml; charset=UTF-8") .accept(MediaType.APPLICATION_XML).put(ClientResponse.class, content);
Also try curl command, same problem.
Heritrix 3.1.0, OSX Lion, Java6