<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:context="http://www.springframework.org/schema/context"
    xmlns:p="http://www.springframework.org/schema/p"
    xsi:schemaLocation="
    http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
    http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">

    <!-- Context that supports the actual ModeShape JCR itself -->

    <context:annotation-config/>

    <bean name="modeshapeRepofactory"
        class="org.fcrepo.kernel.spring.ModeShapeRepositoryFactoryBean"
        p:repositoryConfiguration="${fcrepo.modeshape.configuration:repository.json}"/>

    <bean class="org.modeshape.jcr.JcrRepositoryFactory"/>

    <context:component-scan base-package="org.fcrepo.kernel.services"/>

</beans>

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:context="http://www.springframework.org/schema/context"
    xmlns:p="http://www.springframework.org/schema/p"
    xsi:schemaLocation="
    http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
    http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">

    <!-- Context that supports the actual ModeShape JCR itself -->

    <context:annotation-config/>

    <bean name="modeshapeRepofactory"
        class="org.fcrepo.kernel.spring.ModeShapeRepositoryFactoryBean"
        p:repositoryConfiguration="${fcrepo.modeshape.configuration:repository.json}"/>

    <bean class="org.modeshape.jcr.JcrRepositoryFactory"/>

    <bean id="connectionManager" class="org.apache.http.impl.conn.PoolingHttpClientConnectionManager" />

    <context:component-scan base-package="org.fcrepo.kernel.services"/>

</beans>

Support POST/PUT requests with a Content-Location header instead of a request body
Support POST/PUT requests with a Content-Location header instead of a request body

Resolves: https://www.pivotaltracker.com/story/show/72099626
