'Send grade request.'

def _send_graded_result(self):

    values = {'textString': 0.5, 'sourcedId': self.server.grade_data['sourcedId'], 'imsx_messageIdentifier': uuid4().hex}
    payload = textwrap.dedent('\n                                                <?xml    version    =    "1.0"    encoding    =    "UTF-8"?>\n                                                                <imsx_POXEnvelopeRequest        xmlns="http://www.imsglobal.org/services/ltiv1p1/xsd/imsoms_v1p0">\n                                                                        <imsx_POXHeader>\n                                                                                <imsx_POXRequestHeaderInfo>\n                                                                                        <imsx_version>V1.0</imsx_version>\n                                                                                        <imsx_messageIdentifier>{imsx_messageIdentifier}</imsx_messageIdentifier>    /\n                                                                                </imsx_POXRequestHeaderInfo>\n                                                                        </imsx_POXHeader>\n                                                                        <imsx_POXBody>\n                                                                                <replaceResultRequest>\n                                                                                        <resultRecord>\n                                                                                                <sourcedGUID>\n                                                                                                        <sourcedId>{sourcedId}</sourcedId>\n                                                                                                </sourcedGUID>\n                                                                                                <result>\n                                                                                                        <resultScore>\n                                                                                                                <language>en-us</language>\n                                                                                                                <textString>{textString}</textString>\n                                                                                                        </resultScore>\n                                                                                                </result>\n                                                                                        </resultRecord>\n                                                                                </replaceResultRequest>\n                                                                        </imsx_POXBody>\n                                                                </imsx_POXEnvelopeRequest>\n                                ')
    data = payload.format(**values)
    url = self.server.grade_data['callback_url']
    headers = {'Content-Type': 'application/xml', 'X-Requested-With': 'XMLHttpRequest', 'Authorization': self._oauth_sign(url, data)}
    response = requests.post(url, data=data, headers=headers, verify=False)
    self.server.grade_data['TC    answer'] = response.content
    return response
