mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
- X-* is probably more standard.
This commit is contained in:
parent
809198b916
commit
331221eec6
2 changed files with 2 additions and 2 deletions
|
@ -151,7 +151,7 @@ struct _sapi_module_struct {
|
||||||
#define SAPI_HEADER_SEND_FAILED 3
|
#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_PHP_VERSION_HEADER "X-Powered-By: PHP/" PHP_VERSION
|
||||||
|
|
||||||
#define SAPI_POST_READER_FUNC(post_reader) void post_reader(char *content_type_dup SLS_DC)
|
#define SAPI_POST_READER_FUNC(post_reader) void post_reader(char *content_type_dup SLS_DC)
|
||||||
|
|
||||||
|
|
2
output.c
2
output.c
|
@ -185,7 +185,7 @@ static int php_b_body_write(const char *str, uint str_length)
|
||||||
static int php_ub_body_write_no_header(const char *str, uint str_length)
|
static int php_ub_body_write_no_header(const char *str, uint str_length)
|
||||||
{
|
{
|
||||||
char *newstr = NULL;
|
char *newstr = NULL;
|
||||||
uint new_length;
|
uint new_length=0;
|
||||||
int result;
|
int result;
|
||||||
|
|
||||||
session_adapt_uris(str, str_length, &newstr, &new_length);
|
session_adapt_uris(str, str_length, &newstr, &new_length);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue