Changeset 2910


Ignore:
Timestamp:
Aug 22, 2009 11:47:00 AM (15 years ago)
Author:
bennylp
Message:

Ticket #955 (fixes and enhancements to Python module):

  • allow user to specify either custom body or header in call.send_request(). Previously user has to specify both (thanks Saúl Ibarra for the patch)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/python/pjsua.py

    r2909 r2910  
    16811681        """ 
    16821682        lck = self._lib().auto_lock() 
    1683         if hdr_list and body: 
     1683        if hdr_list or body: 
    16841684            msg_data = _pjsua.Msg_Data() 
    16851685            if hdr_list: 
Note: See TracChangeset for help on using the changeset viewer.