1 ##parameters=REQUEST, RESPONSE
3 from Products
.Plinn
.utils
import makeValidId
5 factory
= context
.PUT_factory
6 typ
= REQUEST
.get_header('content-type', None)
7 body
= REQUEST
.get('BODY', '')
9 id = makeValidId(context
, name
)
10 ob
= factory(id, typ
, body
)