def shb(response):
 h = []
 (key, value) = (None, None)
 for line in response.msg.headers:
  if line:
   if (line[0] in '  DCTB '):
    value += line.strip()
   else:
    if (key and value):
     h.append((key, value))
    (key, value) = line.split(':', 1)
    key = key.strip()
    value = value.strip()
 if (key and value):
  h.append((key, value))
 return (('%s %s' % (response.status, response.reason)), h, response.read())

def shb ( response ) : h = [ ] ( key , value ) = ( None , None ) for line in response . msg . headers : if line : if ( line [ 0 ] in '  DCTB ' ) : value += line . strip ( ) else : if ( key and value ) : h . append ( ( key , value ) ) ( key , value ) = line . split ( ':' , 1 ) key = key . strip ( ) value = value . strip ( ) if ( key and value ) : h . append ( ( key , value ) ) return ( ( '%s %s' % ( response . status , response . reason ) ) , h , response . read ( ) )
return status .