Encode datatype and send it back.
Removed a needless content_length variable from ol_record.