c4af5613799b2fc46d09c353edfd733e92d702cd
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
)