??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 173

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 174

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 175

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 176

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 177

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 178
 Udac@swddlmZddlmZmZddlmZdefdYZd dZ dZ dZ d Z d S( i(t urlencode(topen_urlt urllib_error(tjsontResponsecBs eZdZdZdZRS(s= Create a response object to mimic that of requests. cCsd|_d|_dS(N(tNonetcontentt status_code(tself((s?/usr/lib/python2.7/site-packages/ansible/module_utils/memset.pyt__init__&s cCstj|jS(N(RtloadsR(R((s?/usr/lib/python2.7/site-packages/ansible/module_utils/memset.pyR*s(t__name__t __module__t__doc__R R(((s?/usr/lib/python2.7/site-packages/ansible/module_utils/memset.pyR!s c Cst}|dkr!t}n |j}t}d}t|}idd6}d}dj||} yUt| d|d|ddd td |} | j j d |_ | j |_ Wntjk r} y | j} Wntk rd} nXt}| j j d |_ | |_ |j dk r`d j|j |jd|jd}qdj|jd|jd}nX|dkr|j}n|||fS(s Generic function which returns results back to calling function. Requires an API key and an API method to assemble the API URL. Returns response text to be analysed. s!application/x-www-form-urlencodeds Content-Typeshttps://api.memset.com/v1/json/s{0}{1}/tdatatheaderstmethodtPOSTtforce_basic_autht url_usernamesutf-8tutf8s.Memset API returned a {0} response ({1}, {2}).t error_typeterrors(Memset API returned an error ({0}, {1}).N(RRtdicttcopytFalseRtformatRtTruetreadtdecodeRtgetcodeRRt HTTPErrortcodetAttributeErrorR( tapi_keyt api_methodtpayloadtresponset has_failedtmsgRRt api_uri_basetapi_uritresptet errorcode((s?/usr/lib/python2.7/site-packages/ansible/module_utils/memset.pytmemset_api_call.s8      *    /* cCsLt}|jdkrHx0|jD]}|d|kr"t}q"q"Wn|S(sB Returns true if domain already exists, and false if not. iitdomain(ii(RRRR(RR.texistst zone_domain((s?/usr/lib/python2.7/site-packages/ansible/module_utils/memset.pytcheck_zone_domainas cCsqd}t}|jdkrgx1|jD]#}|d|kr(|d7}q(q(W|dkrgt}qgn||fS(s@ Returns true if zone already exists, and false if not. iiitnicknamei(ii(RRRR(RtnametcounterR/tzone((s?/usr/lib/python2.7/site-packages/ansible/module_utils/memset.pyt check_zoneos  cCst}d\}}g}x2|D]*}|d|kr|j|dqqWt|}|dkrnd}n:|dkr|d}t}n|dkrd}d}n||||fS( s: Returns the zone's id if it exists and is unique R2tidisNo matching zone foundisCZone ID could not be returned as duplicate zone names were detectedN(NN(RRtappendtlenR(t zone_namet current_zonest zone_existstzone_idR't zone_listR5R4((s?/usr/lib/python2.7/site-packages/ansible/module_utils/memset.pyt get_zone_ids           N(t+ansible.module_utils.six.moves.urllib.parseRtansible.module_utils.urlsRRtansible.module_utils.basicRtobjectRRR-R1R6R?(((s?/usr/lib/python2.7/site-packages/ansible/module_utils/memset.pyts 3