php-src/sapi/cgi/tests
Arnaud Le Blanc 8c4151ad72 Added header_remove() (chsc at peytz dotdk, Arnaud)
[DOC] proto void header_remove([string header_name])
      Removes an HTTP header previously set using header()
      The header_name parameter is optionnal, all headers are
      removed if it is not set

[SAPIs] The header_handler callback in sapi_module_struct has
           been changed, it now take a new argument.

           When it is set to SAPI_HEADER_DELETE, sapi_header->header is
           the name of an header, header_handler has to delete it.

           When it is set to SAPI_HEADER_DELETE_ALL, header_handler has
           to delete all headers.

           When sapi_header_op_enum is SAPI_HEADER_ADD or _REPLACE,
           sapi_header->header is in the form "Name: value", header_handler
           has to add or replace the given header.

           In all cases, header_handler must not free sapi_header or
           sapi_header->header. SAPI_HEADER_ADD must be returned if the
           header has been added or replaced, or 0 in other cases.
2008-11-13 10:14:04 +00:00
..
001.phpt add tests for CGI 2007-04-17 19:49:26 +00:00
002.phpt add tests for CGI 2007-04-17 19:49:26 +00:00
003.phpt fix tests 2007-11-01 12:55:42 +00:00
004.phpt add tests for CGI 2007-04-17 19:49:26 +00:00
005.phpt fix tests 2008-08-14 20:51:35 +00:00
006.phpt fix tests 2008-08-14 20:51:35 +00:00
007.phpt fix tests 2008-08-14 20:51:35 +00:00
008.phpt fix tests 2007-11-01 12:55:42 +00:00
009.phpt fix test 2007-06-03 22:50:19 +00:00
010.phpt Fixed bug #45860 (header() function fails to correctly replace all Status lines) 2008-09-02 13:22:16 +00:00
011.phpt Added header_remove() (chsc at peytz dotdk, Arnaud) 2008-11-13 10:14:04 +00:00
include.inc fix tests 2008-08-14 20:51:35 +00:00
skipif.inc add tests for CGI 2007-04-17 19:49:26 +00:00