def _get_request_body(request_body):
if request_body is None:<EOL><INDENT>return b'<STR_LIT>'<EOL><DEDENT>if isinstance(request_body, WindowsAzureData):<EOL><INDENT>request_body = _convert_class_to_xml(request_body)<EOL><DEDENT>if isinstance(request_body, bytes):<EOL><INDENT>return request_body<EOL><DEDENT>if isinstance(request_body, _unicode_type):<EOL><INDENT>return request_body.encode('<STR_LIT:utf-8>')<EOL><DEDENT>request_body = str(request_body)<EOL>if isinstance(request_body, _unicode_type):<EOL><INDENT>return request_body.encode('<STR_LIT:utf-8>')<EOL><DEDENT>return request_body<EOL>
Converts an object into a request body.  If it's None
    we'll return an empty string, if it's one of our objects it'll
    convert it to XML and return it.  Otherwise we just use the object
    directly