Home
last modified time | relevance | path

Searched refs:contentType (Results 1 – 25 of 77) sorted by relevance

1234

/plugin/gtime/gtlib/asn1/cms/
H A DCMSContentInfo.php42 private $contentType; variable in CMSContentInfo
71 $contentType = $object->getObjectAt(0);
73 if (!$contentType instanceof ASN1ObjectId) {
77 $this->contentType = $contentType->getValue();
85 switch ($this->contentType) {
98 throw new GTException("Unsupported content type: {$this->contentType}");
111 $sequence->add(new ASN1ObjectId($this->contentType));
142 return $this->contentType;
H A DCMSEncapsulatedContentInfo.php43 private $contentType; variable in CMSEncapsulatedContentInfo
69 $contentType = $object->getObjectAt(0);
71 if (!$contentType instanceof ASN1ObjectId) {
75 $this->contentType = $contentType->getValue();
109 $sequence->add(new ASN1ObjectId($this->contentType));
130 if ($this->contentType != TSPTSTInfo::OID) {
131 throw new GTException("Invalid contentType for TSTInfo: {$this->contentType}");
/plugin/authgoogle/google/service/
H A DGoogle_ServiceResource.php143 $contentType = false;
147 $contentType = isset($media['content-type']) ? $media['content-type']: null;
158 if (isset($contentType) && $contentType) {
159 $contentTypeHeader['content-type'] = $contentType;
176 if (isset($contentType) && $contentType) {
177 $contentTypeHeader['content-type'] = $contentType;
H A DGoogle_BatchRequest.php67 $contentType = $response->getResponseHeader('content-type');
68 $contentType = explode(';', $contentType);
70 foreach($contentType as $part) {
/plugin/elasticsearch/vendor/ruflin/elastica/lib/Elastica/
H A DRequest.php35 * @param string $contentType Content-Type sent with this request
39 …f::GET, $data = [], array $query = [], Connection $connection = null, $contentType = self::DEFAULT… argument
49 $this->setContentType($contentType);
169 * @param string $contentType
171 public function setContentType($contentType) argument
173 return $this->setParam('contentType', $contentType);
H A DClient.php633 * @param string $contentType Content-Type sent with this request
639 …request($path, $method = Request::GET, $data = [], array $query = [], $contentType = Request::DEFA… argument
642 …uest = $this->_lastRequest = new Request($path, $method, $data, $query, $connection, $contentType);
/plugin/authgoogle/google/io/
H A DGoogle_IO.php91 $contentType = $request->getRequestHeader("content-type");
94 if (false == $contentType) {
95 $contentType = self::FORM_URLENCODED;
96 $request->setRequestHeaders(array('content-type' => $contentType));
100 if ($contentType == self::FORM_URLENCODED && is_array($postBody)) {
/plugin/quickstats/GEOIP/vendor/maxmind/web-service-common/src/WebService/
H A DClient.php116 list($statusCode, $contentType, $body) = $request->post($body);
120 $contentType,
131 list($statusCode, $contentType, $body) = $request->get();
135 $contentType,
174 * @param string $contentType the Content-Type of the response
192 $contentType, argument
198 $this->handle4xx($statusCode, $contentType, $body, $service, $path);
/plugin/davcal/vendor/sabre/dav/lib/CardDAV/
H A DPlugin.php237 $contentType = $report->contentType;
240 $contentType .= '; version=' . $version;
244 $contentType
402 $contentType = $report->contentType;
404 $contentType .= '; version=' . $report->version;
408 $contentType
671 $contentType = $propFind->get('{DAV:}getcontenttype');
672 list($part) = explode(';', $contentType);
/plugin/webdav/vendor/sabre/dav/lib/CardDAV/
H A DPlugin.php238 $contentType = $report->contentType;
241 $contentType .= '; version=' . $version;
245 $contentType
445 $contentType = $report->contentType;
447 $contentType .= '; version=' . $report->version;
451 $contentType
727 $contentType = $propFind->get('{DAV:}getcontenttype');
728 list($part) = explode(';', $contentType);
/plugin/combo/ComboStrap/
H A DHttpResponse.php63 public function send($payload = null, $contentType = null) argument
66 if ($contentType != null) {
67 Http::setMime($contentType);
/plugin/davcal/vendor/sabre/dav/lib/DAV/PartialUpdate/
H A DPlugin.php131 $contentType = strtolower(
135 if ($contentType != 'application/x-sabredav-partialupdate') {
136 …throw new DAV\Exception\UnsupportedMediaType('Unknown Content-Type header "' . $contentType . '"');
/plugin/webdav/vendor/sabre/dav/lib/DAV/PartialUpdate/
H A DPlugin.php131 $contentType = strtolower(
135 if ($contentType != 'application/x-sabredav-partialupdate') {
136 …throw new DAV\Exception\UnsupportedMediaType('Unknown Content-Type header "' . $contentType . '"');
/plugin/scrape/
H A DphpQuery-onefile.php150 public $contentType = ''; variable in DOMDocumentWrapper
184 $this->contentType = strtolower($contentType);
211 if ($this->contentType) {
214 list($contentType, $charset) = $this->contentTypeToArray($this->contentType);
215 switch($contentType) {
475 return $contentType[1];
609 $fake->contentType = $this->contentType;
4642 $contentType = $charset
4655 $contentType = $charset
4668 $contentType = $charset
[all …]
/plugin/quickstats/GEOIP/vendor/maxmind/web-service-common/src/WebService/Http/
H A DCurlRequest.php105 $contentType = curl_getinfo($curl, CURLINFO_CONTENT_TYPE);
108 return [$statusCode, $contentType, $body];
/plugin/davcal/vendor/sabre/dav/lib/DAV/Browser/
H A DPlugin.php167 $contentType = $request->getHeader('Content-Type');
168 list($contentType) = explode(';', $contentType);
169 if ($contentType !== 'application/x-www-form-urlencoded' &&
170 $contentType !== 'multipart/form-data') {
/plugin/webdav/vendor/sabre/dav/lib/DAV/Browser/
H A DPlugin.php167 $contentType = $request->getHeader('Content-Type');
168 list($contentType) = explode(';', $contentType);
169 if ($contentType !== 'application/x-www-form-urlencoded' &&
170 $contentType !== 'multipart/form-data') {
/plugin/davcal/vendor/sabre/dav/lib/CalDAV/
H A DSharingPlugin.php244 $contentType = $request->getHeader('Content-Type');
245 …if (strpos($contentType, 'application/xml') === false && strpos($contentType, 'text/xml') === fals…
/plugin/webdav/vendor/sabre/dav/lib/CalDAV/
H A DSharingPlugin.php233 $contentType = $request->getHeader('Content-Type');
234 …if (strpos($contentType, 'application/xml') === false && strpos($contentType, 'text/xml') === fals…
/plugin/gtime/gtlib/tsp/
H A DGTTimestamp.php250 $contentType = $signedAttributes[0];
253 if ($contentType->getType() != self::CONTENT_TYPE_ID) {
254 … throw new GTException("Expecting content-type signedAttr, but found: " . $contentType->getType());
261 $contentTypeValues = $contentType->getValues();
/plugin/webdav/vendor/sabre/dav/lib/DAV/Sharing/
H A DPlugin.php187 $contentType = $request->getHeader('Content-Type');
190 if (strpos($contentType, 'application/davsharing+xml') === false) {
/plugin/davcal/vendor/sabre/dav/lib/CardDAV/Xml/Request/
H A DAddressBookMultiGetReport.php44 public $contentType = null; variable in Sabre\\CardDAV\\Xml\\Request\\AddressBookMultiGetReport
/plugin/webdav/vendor/sabre/dav/lib/CalDAV/Xml/Request/
H A DCalendarMultiGetReport.php54 public $contentType = null; variable in Sabre\\CalDAV\\Xml\\Request\\CalendarMultiGetReport
/plugin/webdav/vendor/sabre/dav/lib/CardDAV/Xml/Request/
H A DAddressBookMultiGetReport.php44 public $contentType = null; variable in Sabre\\CardDAV\\Xml\\Request\\AddressBookMultiGetReport
/plugin/davcal/vendor/sabre/dav/lib/CalDAV/Xml/Request/
H A DCalendarMultiGetReport.php54 public $contentType = null; variable in Sabre\\CalDAV\\Xml\\Request\\CalendarMultiGetReport

1234