PatchManager>>downloadBytesFrom: fileUrl
"Override to register downloadDone:
with the protocol interpreter.
Required as a result of architecture changes in VW 7.5. 10/06/07 SIM."
| client response |
NotifyingHttpBuildHandler when: #downloadStarted:
send: #downloadStarted: to: self.
client := NotifyingHttpClient new.
client clientPI when: #downloadDone: send: #downloadDone:
to: self.
client decodeContents: false.
[response := client get: fileUrl]
on: self class netExceptions
do:
[:ex |
self logError: ex.
self cleanupEvents: client.
^false].
self cleanupEvents: client.
^true