equal
deleted
inserted
replaced
532 |
532 |
533 if self.sock is None: |
533 if self.sock is None: |
534 if self.auto_open: |
534 if self.auto_open: |
535 self.connect() |
535 self.connect() |
536 else: |
536 else: |
537 raise httplib.NotConnected() |
537 raise httplib.NotConnected |
538 |
538 |
539 # send the data to the server. if we get a broken pipe, then close |
539 # send the data to the server. if we get a broken pipe, then close |
540 # the socket. we want to reconnect when somebody tries to send again. |
540 # the socket. we want to reconnect when somebody tries to send again. |
541 # |
541 # |
542 # NOTE: we DO propagate the error, though, because we cannot simply |
542 # NOTE: we DO propagate the error, though, because we cannot simply |