]> git.mxchange.org Git - friendica.git/blobdiff - src/Capabilities/ICanCreateResponses.php
Removed second ppst parameter
[friendica.git] / src / Capabilities / ICanCreateResponses.php
index 21a7b1bde925022202af533d8aa2862d7a119afe..0cd5348c5331fe3cb38d689fdc58c00a31ba0fd4 100644 (file)
@@ -7,6 +7,11 @@ use Psr\Http\Message\ResponseInterface;
 
 interface ICanCreateResponses
 {
+       /**
+        * This constant helps to find the specific return type of responses inside the headers array
+        */
+       const X_HEADER = 'X-RESPONSE-TYPE';
+
        const TYPE_HTML = 'html';
        const TYPE_XML  = 'xml';
        const TYPE_JSON = 'json';