Normal
  7   ˆl–ßi~”Ji?u8 ¸Ë—ú˜´o‘äÇò 8à@4@;\þÊƒh¹É¿Ç      0000002f
     ˆÅÄÉ646_‘I|¥‰ÓMdœv ©ƒ†ü+=ÀÈ †    ‹      Õ—QoÚ0Çßû)<?ìŽVV2u¤ÒÐZŠZ¦iš¦ÊÄ&±šØ‘m`ìÓÏÁi¡SÙR­ÝèÓ�Ãß¾ûÙw‰	^EƒÉ—ñ)ú09?CãOïÏ†„ Ÿý@4‰Ü�fË8a„ScŠÀr¹l.ý¦T	L.!5yÖm�M“ŠÃƒ |  e„Z‹ÃMÆÂ¡ ì;’3rn4§ÌÎ[i lÁc¦Kß°r–KµªL×!)kA\Ì} Š/˜*}/ ·¦�U˜`*éªŒî=q$»à‚L×KW…�IÑ‚d<}ld�Ã€ç	Ò*îcà±¦7Í„Ï0"™éã¯ÃÁÅ7«“–³Ã€ T±Y¿ôGÇý‡#’³ ÈÃšs«9ÁáÑå’ògt§øÊ‰¯ø�ÝFN1+^.ÅF
q5–™.ˆe}c	Rµ­rú§Ý ñ½ÍŸ\žŽ&ÑðÒm	-—Ød÷—ç†Ã1QLqÅbce™óZLuq|;DUÞŠ'©Á!Bô ò°3™Q¦¶qw�Æ$N™Í×Ùí,I«Ýj6<¯á!¯ÛkuzÆüçâFÈ¥Ø°µð0€":½Ò0m)6ƒ(mµ[½ÎnûîùøP®µmœ{<ë'ûU¿¾î¢rêWØá³VX}‚WùÒvóuÙæäþø)Näßò¤ÒÙ<±$·^†6jû=ÿhOÜ‡ÎîKM=¢Õ¥È¸°îìËkëB.×]íl½°Ôy»'¤çÓêcŽÃ�¿/…TŸÃÎ—™LVãÎ}�ñ9[ØÛ�}Šcø};Ô¼XBuå`}µÀý±ø	ÉLóó»        ˆ¿‘äÇò 8à@4FYŒÿ?Ëƒh¹ÊÀÈ      Normal
  %   ˆÃ“þ[~U›, n½  -7³WüÿËÆÅÊ561ÄÀÈ 1    ‹      Í”KO[1„÷ýŸî:ªHáQu‘9yy�°y@ á†< ¡â¿×¾ÔV´R«Vªä…}ìsÆ3ŸIÜ_Ž«i<[Ì?Éïù¥£½¨DE©(ãæ(’SôœRØ6©R¦F�G4iÑæ˜NépÆ9t¹dÀ�+®qÃ-c&Ü3åžWÏ\=±-îÅ>3^Àx¾G™³`ÉŽØõKg}Þi2dÙd‹Ûì°Ë�¬XóD^ÈUQ%Q‡#Ä¡¨Šš¨‹†8MÑmq,NÄ©˜‰Ž˜‹3q..DW\Šžè‹�Š+7çZŒÄ�¸c1Qe¡ß×…¥xðj‚Úï±|O›ÿŠùÒ&oÈ‚ó¾1„òœy[>§ŠA™Ÿ9¦`�’Q6VâNÄbí$0ö�'±!Ò"#¦"ëDq‰¯ f<zŒÒ/Ôÿwºwþ¶×«R¢NÕ¨u£a^”M—jNÇ¶Øi[îZFÛ86NŒS£cœçÆ…Ñ5.�žÑ7ÆÐ¸2®�‘qóŽ¸¯/—ˆZ	þÖÜb?`&_¿Bœ O�û×§wQö œÍ‡­‚‹†X?Ä^ðÂ+!U|«©ùyÒ4znUÿ¡œ?Ý±™Ç;zsØÜXKãÁ#±ÓÊX;¢Æ†‘6Ï2cd�MŸØ‰k_²[~§ývƒœ[úfšs0Ê;Çw—ýQÌp4v?$žMº‹èùÓ‡¯jdîþŸ       ˆÆÅÊ646¾ÀÈ †    ‹      Õ—QoÚ0Çßû)<?ìŽ mW2u¤ÒP[ŠZ¦iš¦ÊÄ&±šØ‘mÈØ§ŸƒÓB§²¥Z»Ñ§;‡¿}÷³ïã¿	/“/ãSôqrqŽÆŸ>œ7 >w á$t?t›-àt„NŒÉ{ EQ4‹NSª&W�˜,í‚6ŠG¦IÅÁž_>ö�Ÿ0B­E¾á&eÁPPöÉ97šSfç-5P¶àÓ¥oXË¤ZVæ`„¤¬Q>ïU|ÁTé{>¸5m¨ÂøSI—etï™#ÙWdº
Xº*ðM‚$å±èc#sø<‹‘VQ�¤Ð0M‰¸mÆ|†IM.¿Y˜¤œø%ŠÍúøý ?:¾ì‡8‘Œù@×\XÍ	Î‰6(“”Ï8£[Å×N|Íl_0tš�éHñÜp)ÖR°ˆ›¨‘LuN,ë¾%HÔ¦ÊIèŸvƒD6c|ru:š„Ã+·%´\b�Ý_žÆD1aPÈ‹Œ•Ud.Ì[1ÕùñÝUy+'5Ð£Ê'ÀÎdJ™ÚÄÝ‘(a6_g7³ü%­v«}Ðð¼†w„¼Ã^ë¡Ì.n…,Ä&€­…ÇÑÉ��†iK±Ô@iwP»ÕënG±ïž³ÿƒr£mã<àY=Ù¨úõuß•S¿Â^´ÂêÌ¸Ê
ÛÍ7e›[�‡ãç8‘Ë“H“§óØ’ÜyuÚ¨ÝéuŽv„Á½qqàì®ÔÔZ]Š”ÛàÎ¾¾¶Îe±êjgë€- î») =ŸVs¬ý])¤úv¾Le¼´÷î+üˆÏÙÂÞ–pàìsÃïÛ¡æÅª+·««½î�ÅOQxù�»    6   ˆl–ß=¿Jõ4Ÿº‚ œPLÜ. JbÑ¿�þB g ßnI[•‘3üÿÌƒh¹ËÁÉ      -1
  C   ˆl–Ðz¾”Šj"Tâ‚À½q¶”Å£�þZÂYÆÊFãt2=+ÀþÍ„ ŸÌ_ŠI|¥�+Wé3ž¯ÃË ?÷     # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import hmac
import time
import base64
import hashlib
from io import FileIO as file

from libcloud.utils.py3 import b, next, httplib, urlparse, urlquote, urlencode, urlunquote
from libcloud.common.base import XmlResponse, ConnectionUserAndKey
from libcloud.utils.files import read_in_chunks
from libcloud.common.types import LibcloudError
from libcloud.storage.base import CHUNK_SIZE, Object, Container, StorageDriver
from libcloud.storage.types import (
    ObjectDoesNotExistError,
    ContainerIsNotEmptyError,
    ContainerDoesNotExistError,
    ContainerAlreadyExistsError,
)


def collapse(s):
    return " ".join([x for x in s.split(" ") if x])


class AtmosError(LibcloudError):
    def __init__(self, code, message, driver=None):
        super().__init__(value=message, driver=driver)
        self.code = code


class AtmosResponse(XmlResponse):
    def success(self):
        return self.status in (
            httplib.OK,
            httplib.CREATED,
            httplib.NO_CONTENT,
            httplib.PARTIA