Skip to content

Commit

Permalink
Replaced cli_webserver_workaround client option by a check of CONTENT…
Browse files Browse the repository at this point in the history
…_TYPE AND HTTP_CONTENT_TYPE entry in SERVER superglobal
  • Loading branch information
francisbesset committed Aug 14, 2014
1 parent 29adee2 commit 08aa78c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions SoapMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ abstract class SoapMessage
*/
const CONTENT_TYPE_HEADER = 'CONTENT_TYPE';

/**
* $_SERVER key for 'Content-Type' header (with PHP cli-webserver)
*
* @var string
*/
const HTTP_CONTENT_TYPE_HEADER = 'HTTP_CONTENT_TYPE';

/**
* $_SERVER key for 'SOAPAction' header.
*
Expand Down

0 comments on commit 08aa78c

Please sign in to comment.