def decode_deflate(content):
 try:
  try:
   return zlib.decompress(content)
  except zlib.error:
   return zlib.decompress(content, (-15))
 except zlib.error:
  return None

def decode_deflate ( content ) : try : try : return zlib . decompress ( content ) except zlib . error : return zlib . decompress ( content , ( - 15 ) ) except zlib . error : return None
returns decompressed data for deflate .