summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/activation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/activation.c b/src/activation.c
index ff71ef2..9e7115a 100644
--- a/src/activation.c
+++ b/src/activation.c
@@ -602,7 +602,7 @@ static size_t idevice_activation_header_callback(void *data, size_t size, size_t
}
}
if (value) {
- if (strcmp(header, "Content-Type") == 0) {
+ if (strncasecmp(header, "Content-Type", 12) == 0) {
if (strcmp(value, "text/xml") == 0) {
response->content_type = IDEVICE_ACTIVATION_CONTENT_TYPE_PLIST;
} else if (strcmp(value, "application/xml") == 0) {