@classmethod
def xtract_posted(cls, environ):
    """ 	where req is request object
			@todo request object makes this lib dependent to mod_python
			challenge is extra read that we do get the posted based on the content length
			in typed system, code will require some thoughts before migrating
			if url encoded which is default for form, 
			A) output can be (None,"") if there is no content-type in the header
			B) if content-type is form post - output will be (0,throw this member of list to formdata.frompost_urlencoded)
			C) output will be (1,throw this member of this list to formdata.frompost_multipart)
		"""
    l = 0
    octet = ''
    proceed = 0
    boundary = ''
    boundaries = []
    incoming_type = 'CONTENT_TYPE'
    incoming_length = 'CONTENT_LENGTH'
    if incoming_type not in environ:
        return None, incoming_type + ' not in environ'
    if incoming_length in environ:
        l = int(environ[incoming_length])
    if l < 1:
        return None, incoming_length + ' is zero or less than zero'
    incoming = environ['wsgi.input']
    incomingtype = environ[incoming_type]
    typeparts = incomingtype.split(';')
    stype = typeparts[0].strip()
    if incomingtype == 'application/x-www-form-urlencoded':
        proceed = 1
    elif stype == 'multipart/form-data':
        b = typeparts[1].strip()
        boundary = b.split('=')
        boundary = boundary[1]
        proceed = 2
    else:
        proceed = 3
    octet = incoming.read(l)
    output = []
    if proceed == 2:
        output = 1, cls.xtract_multipart(octet, boundary)
    elif proceed == 1:
        output = 0, octet
    else:
        output = 2, octet
    return output
