def read_body(environ):
    length = environ.get('CONTENT_LENGTH', '0')
    length = 0 if length == '' else int(length)

    return environ['wsgi.input'].read(length)
Generate components of hidden layer given X
dataset/ETHPy150Open saltstack/salt/salt/netapi/rest_wsgi.py/read_body--crossover with--dataset/ETHPy150Open dclambert/Python-ELM/random_layer.py/BaseRandomLayer._generate_components