diff --git a/aichat-bingai.el b/aichat-bingai.el index e04d247..82c5553 100644 --- a/aichat-bingai.el +++ b/aichat-bingai.el @@ -345,7 +345,7 @@ to the websocket protocol. (error "Your network settings are preventing access to this feature.") (let* ((data (aichat-json-parse body)) (result-value (aichat-json-access data "{result}{value}")) - (signature (cdr (seq-find (lambda (header) (string= (car header) "X-Sydney-EncryptedConversationSignature")) + (signature (cdr (seq-find (lambda (header) (string= (downcase (car header)) "x-sydney-encryptedconversationsignature")) headers)))) (if (not (string= "Success" result-value)) (error "Create conversation failed: %s" body)