You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
153 B
6 lines
153 B
13 years ago
|
import json
|
||
|
|
||
|
def json_loads_from_request(request):
|
||
|
raw = request.body.s_iter.read(int(request.headers['Content-Length']))
|
||
|
return json.loads(raw)
|