Draft 05 of the iSchedule changes the required/disallowed headers

Thanks to Julien for the heads up, and the initial changes. There
are a few other changes in the draft, this patch includes them.
This commit is contained in:
Andrew Ruthven 2018-11-12 19:08:32 +13:00
parent 872f4fc6ad
commit 45a9c39819

View File

@ -34,17 +34,19 @@ class iSchedule
private $failOnError = true; private $failOnError = true;
private $subdomainsOK = true; private $subdomainsOK = true;
private $remote_public_key ; private $remote_public_key ;
private $required_headers = Array ( 'host', // draft 01 section 7.1 required headers private $required_headers = Array ( 'ischedule-version', // draft 05 section 7.1 required headers
'originator', 'originator',
'recipient', 'recipient',
'content-type' ); 'content-type' );
private $disallowed_headers = Array ( 'connection', // draft 01 section 7.1 disallowed headers private $disallowed_headers = Array ( 'cache-control', // draft 05 section 7.1 disallowed headers
'connection',
'host',
'keep-alive', 'keep-alive',
'dkim-signature', 'dkim-signature',
'proxy-authenticate', 'proxy-authenticate',
'proxy-authorization', 'proxy-authorization',
'te', 'te',
'trailers', 'trailer',
'transfer-encoding', 'transfer-encoding',
'upgrade' ); 'upgrade' );