]> granicus.if.org Git - php/commitdiff
Add PHP-Version header in IIS
authorZeev Suraski <zeev@php.net>
Sun, 12 Sep 1999 21:07:53 +0000 (21:07 +0000)
committerZeev Suraski <zeev@php.net>
Sun, 12 Sep 1999 21:07:53 +0000 (21:07 +0000)
main/SAPI.h

index 2b9949883110fc22f79cc824e0be6b072ba34bd5..fa9b0c6eabe5aede4134878a687a1ac113674e64 100644 (file)
@@ -150,7 +150,8 @@ struct _sapi_module_struct {
 #define SAPI_HEADER_DO_SEND                            2
 #define SAPI_HEADER_SEND_FAILED                        3
 
-#define SAPI_DEFAULT_CONTENT_TYPE "Content-Type: text/html"
+#define SAPI_DEFAULT_CONTENT_TYPE      "Content-Type: text/html"
+#define SAPI_PHP_VERSION_HEADER                "PHP-Version: " PHP_VERSION
 
 #define SAPI_POST_READER_FUNC(post_reader) void post_reader(char *content_type_dup SLS_DC)