@@ -76,11 +76,15 @@ } - (void)client: (OFHTTPClient *)client didPerformRequest: (OFHTTPRequest *)request response: (OFHTTPResponse *)response + exception: (id)exception { + if (exception != nil) + @throw exception; + [of_stdout writeLine: @" done"]; switch (_state) { case STATE_UNICODE_DATA: [self parseUnicodeData: response]; @@ -89,17 +93,10 @@ [self parseCaseFolding: response]; break; } } -- (void)client: (OFHTTPClient *)client - didFailWithException: (id)exception - request: (OFHTTPRequest *)request -{ - @throw exception; -} - - (void)parseUnicodeData: (OFHTTPResponse *)response { OFString *line; OFHTTPRequest *request;