@@ -23,11 +23,11 @@ @class OFHTTPClient; @class OFHTTPRequest; @class OFHTTPResponse; @class OFURL; @class OFTCPSocket; -@class OFDictionary; +@class OFDictionary OF_GENERIC(KeyType, ObjectType); @class OFDataArray; /*! * @protocol OFHTTPClientDelegate OFHTTPClient.h ObjFW/OFHTTPClient.h * @@ -61,11 +61,11 @@ * @param statusCode The status code received * @param request The request for which the headers and status code have been * received */ - (void)client: (OFHTTPClient*)client - didReceiveHeaders: (OFDictionary*)headers + didReceiveHeaders: (OFDictionary OF_GENERIC(OFString*, OFString*)*)headers statusCode: (int)statusCode request: (OFHTTPRequest*)request; /*! * @brief A callback which is called when an OFHTTPClient wants to follow a