def post(self, path, data={}, content_type=MULTIPART_CONTENT,
             **extra):

        post_data = self._encode_data(data, content_type)

        parsed = urlparse(path)
        r = {
            'CONTENT_LENGTH': len(post_data),
            'CONTENT_TYPE':   content_type,
            'PATH_INFO':      self._get_path(parsed),
            'QUERY_STRING':   force_str(parsed[4]),
            'REQUEST_METHOD': str('POST'),
            'wsgi.input':     FakePayload(post_data),
        }
        r.update(extra)
        return self.request(**r)
Create a perpendicular line segment from `p` to this line.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/test/client.py/RequestFactory.post--crossover with--dataset/ETHPy150Open sympy/sympy/sympy/geometry/line3d.py/LinearEntity3D.perpendicular_segment