On dirait bien que portal_syndication commence à faire chier… On met la poussière...
[Portfolio.git] / skins / jsupload.py
1 ##parameters=REQUEST, RESPONSE
2
3 from Products.Plinn.utils import makeValidId
4
5 factory = context.PUT_factory
6 typ = REQUEST.get_header('content-type', None)
7 body = REQUEST.get('BODY', '')
8
9 id = makeValidId(context, name)
10 ob = factory(id, typ, body)
11
12 return RESPONSE