Reviewed by Darin.
[WebKit-https.git] / WebCore / kwq / KWQLoader.mm
index 8986981c2c76e7fca139591ee2a56fd1ea6079c8..82020ee62082b51901f79f812a99a36dc259e50c 100644 (file)
@@ -281,6 +281,15 @@ void *KWQResponseMIMEType(void *response)
     return NULL;
 }
 
+void *KWQResponseTextEncodingName(void *response)
+{
+    KWQ_BLOCK_EXCEPTIONS;
+    return [(NSURLResponse *)response textEncodingName];
+    KWQ_UNBLOCK_EXCEPTIONS;
+
+    return NULL;
+}
+
 void *KWQResponseHeaderString(void *response)
 {
     KWQ_BLOCK_EXCEPTIONS;