def make_xheader(lms_callback_url, lms_key, queue_name):
 return json.dumps({'lms_callback_url': lms_callback_url, 'lms_key': lms_key, 'queue_name': queue_name})

def make_xheader ( lms_callback_url , lms_key , queue_name ) : return json . dumps ( { 'lms_callback_url' : lms_callback_url , 'lms_key' : lms_key , 'queue_name' : queue_name } )
generate header for delivery and reply of queue request .