Make sure we check for DirectContainer type.
Added support for LDP PUT.