REST upload crawler-bean.cxml to XML extension rather than CXML

Description

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.

Environment

Heritrix 3.1.0, OSX Lion, Java6

Status

Assignee

Unassigned

Reporter

steveneo

Group Assignee

None

ZendeskID

None

Estimated Difficulty

None

Actual Difficulty

None

Affects versions

Heritrix 3.1.0

Priority

Major
Configure