HTTP_LONG_CONSTANT("HTTP_SUPPORT", HTTP_SUPPORT);
HTTP_LONG_CONSTANT("HTTP_SUPPORT_REQUESTS", HTTP_SUPPORT_REQUESTS);
- HTTP_LONG_CONSTANT("HTTP_SUPPORT_MIMEMAGIC", HTTP_SUPPORT_MIMEMAGIC);
+ HTTP_LONG_CONSTANT("HTTP_SUPPORT_MAGICMIME", HTTP_SUPPORT_MAGICMIME);
HTTP_LONG_CONSTANT("HTTP_SUPPORT_ENCODINGS", HTTP_SUPPORT_ENCODINGS);
HTTP_LONG_CONSTANT("HTTP_SUPPORT_MHASHETAGS", HTTP_SUPPORT_MHASHETAGS);
HTTP_LONG_CONSTANT("HTTP_SUPPORT_SSLREQUESTS", HTTP_SUPPORT_SSLREQUESTS);
support |= HTTP_SUPPORT_MHASHETAGS;
#endif
#ifdef HTTP_HAVE_MAGIC
- support |= HTTP_SUPPORT_MIMEMAGIC;
+ support |= HTTP_SUPPORT_MAGICMIME;
#endif
#ifdef HTTP_HAVE_ZLIB
support |= HTTP_SUPPORT_ENCODINGS;
* and HTTP requests can be issued
* - HTTP_SUPPORT_SSLREQUESTS: whether libcurl was linked against openssl,
* and SSL requests can be issued
- * - HTTP_SUPPORT_ENCOGINS: whether ext/http was linked against zlib,
+ * - HTTP_SUPPORT_ENCODINGS: whether ext/http was linked against zlib,
* and compressed HTTP responses can be decoded
- * - HTTP_SUPPORTS_MHASHETAGS: whether ext/http was linked against libhmash,
+ * - HTTP_SUPPORT_MHASHETAGS: whether ext/http was linked against libmhash,
* and ETags can be generated with the available mhash algorithms
- * - HTTP_SUPPORTS_MAGICMIME: whether ext/http was linked against libmagic,
+ * - HTTP_SUPPORT_MAGICMIME: whether ext/http was linked against libmagic,
* and the HttpResponse::guessContentType() method is usable
*
* Returns int, whether requested feature is supported, or a bitmask with
#define HTTP_SUPPORT 0x01L
#define HTTP_SUPPORT_REQUESTS 0x02L
-#define HTTP_SUPPORT_MIMEMAGIC 0x04L
+#define HTTP_SUPPORT_MAGICMIME 0x04L
#define HTTP_SUPPORT_ENCODINGS 0x08L
#define HTTP_SUPPORT_MHASHETAGS 0x10L
#define HTTP_SUPPORT_SSLREQUESTS 0x20L