Home
last modified time | relevance | path

Searched refs:withHeader (Results 1 – 25 of 668) sorted by relevance

12345678910>>...27

/dports/www/kanboard/kanboard-1.2.21/app/Core/Http/
H A DResponse.php53 public function withHeader($header, $value) function in Kanboard\\Core\\Http\\Response
100 $this->withHeader('Content-Security-Policy', $values);
112 $this->withHeader('X-Frame-Options', 'DENY');
167 ->withHeader('Pragma', 'cache')
173 $this->withHeader('ETag', '"' . $etag . '"');
187 $this->withHeader('Pragma', 'no-cache');
188 $this->withHeader('Expires', 'Sat, 26 Jul 1997 05:00:00 GMT');
202 $this->withHeader('Content-Transfer-Encoding', 'binary');
203 $this->withHeader('Content-Type', 'application/octet-stream');
254 $this->withHeader('Location', $url);
[all …]
/dports/deskutils/egroupware/egroupware/vendor/zendframework/zend-diactoros/test/
H A DMessageTraitTest.php111 ->withHeader('X-Foo', 'Foo')
124 $message = $this->message->withHeader('X-Foo', 'Foo');
140 $message = $this->message->withHeader('X-Foo', 'Foo');
152 ->withHeader('X-Foo', 'Foo')
186 $this->message->withHeader('X-Foo', [ $value ]);
207 $this->message->withHeader('X-Foo', $value);
213 $new = $this->message->withHeader('X-foo', ['bar']);
280 $this->message->withHeader($name, $value);
321 ->withHeader('X-Test-Array', [ $value ])
322 ->withHeader('X-Test-Scalar', $value);
[all …]
/dports/audio/ampache/ampache-php74-5.0.0/vendor/kevinrob/guzzle-cache-middleware/tests/
H A DValidationTest.php39 ->withHeader('X-Replaced', '2')
45 ->withHeader('Etag', 'MyBeautifulHash')
46 ->withHeader('X-Base-Info', '1')
47 ->withHeader('X-Replaced', '1')
53 ->withHeader('Etag', 'MyBeautifulHash2')
59 ->withHeader('Etag', 'MyBeautifulHash')
65 ->withHeader('Cache-Control', 'max-age=10')
71 ->withHeader('Etag', 'MyBeautifulHash')
72 ->withHeader('Cache-Control', 'max-age=1')
/dports/www/orangehrm/orangehrm-4.9/symfony/lib/vendor/google/auth/tests/Middleware/
H A DScopedAccessTokenMiddlewareTest.php70 ->method('withHeader')
102 ->method('withHeader')
140 ->method('withHeader')
178 ->method('withHeader')
222 ->method('withHeader')
245 ->method('withHeader');
/dports/security/zaproxy/zaproxy-2.11.1/zap/src/test/java/org/parosproxy/paros/network/
H A DHttpSenderUnitTest.java94 .withHeader("Host", matching("localhost:" + server.port()))); in shouldProxyIfEnabled()
97 .withHeader("Host", matching("localhost:" + server.port()))); in shouldProxyIfEnabled()
114 .withHeader("Host", matching("localhost:" + server.port()))); in shouldNotProxyIfDisabled()
139 .withHeader("Host", matching("localhost:" + server.port()))); in shouldNotAuthenticateToProxyIfAuthDisabled()
155 .withHeader( in shouldBasicAuthenticateToProxy()
172 .withHeader("Host", matching("localhost:" + server.port())), in shouldBasicAuthenticateToProxy()
174 .withHeader( in shouldBasicAuthenticateToProxy()
176 .withHeader("Host", matching("localhost:" + server.port()))); in shouldBasicAuthenticateToProxy()
179 .withHeader("Host", matching("localhost:" + server.port()))); in shouldBasicAuthenticateToProxy()
191 .withHeader( in shouldNotBasicAuthenticateToProxyIfRealmMismatch()
[all …]
/dports/audio/ampache/ampache-php74-5.0.0/vendor/kevinrob/guzzle-cache-middleware/src/
H A DCacheMiddleware.php118 … return $response->withHeader(self::HEADER_CACHE_INFO, self::HEADER_CACHE_MISS);
149 … $cacheEntry->getResponse()->withHeader(self::HEADER_CACHE_INFO, self::HEADER_CACHE_HIT)
167 ->withHeader(self::HEADER_CACHE_INFO, self::HEADER_CACHE_STALE)
202 ->withHeader(self::HEADER_CACHE_INFO, self::HEADER_CACHE_HIT);
212 $response = $response->withHeader($headerName, $headerValue);
218 … $response = $response->withHeader(self::HEADER_CACHE_INFO, self::HEADER_CACHE_MISS);
281 $request = $request->withHeader(self::HEADER_RE_VALIDATION, '1');
296 $response = $response->withHeader($headerName, $headerValue);
322 ->withHeader(self::HEADER_CACHE_INFO, self::HEADER_CACHE_STALE);
337 $request = $request->withHeader(
[all …]
/dports/audio/ampache/ampache-php74-5.0.0/src/Module/Application/Utility/
H A DShowAction.php55 ->withHeader(
59 ->withHeader(
63 ->withHeader(
67 ->withHeader(
76 $response = $response->withHeader(
/dports/www/ilias6/ILIAS-6.14/Services/FileDelivery/classes/
H A DDelivery.php145 …$response = $this->httpService->response()->withHeader('X-ILIAS-FileDelivery-Method', $this->getDe…
172 …$response = $this->httpService->response()->withHeader(ResponseHeader::CONTENT_TYPE, $this->getMim…
182 … $response = $this->httpService->response()->withHeader(ResponseHeader::ACCEPT_RANGES, 'bytes');
187 …$response = $this->httpService->response()->withHeader(ResponseHeader::CONTENT_LENGTH, (string) fi…
190 $response = $this->httpService->response()->withHeader(ResponseHeader::CONNECTION, "close");
197 …->httpService->response()->withHeader(ResponseHeader::CACHE_CONTROL, 'must-revalidate, post-check=…
199 …$this->httpService->saveResponse($response->withHeader(ResponseHeader::EXPIRES, date("D, j M Y H:i…
536 $response = $this->httpService->response()->withHeader('ETag', $this->getEtag());
545 $response = $this->httpService->response()->withHeader(
728 $response = $response->withHeader(
[all …]
/dports/www/nextcloud/nextcloud/3rdparty/microsoft/azure-storage-common/src/Common/Internal/Middlewares/
H A DCommonRequestMiddleware.php90 $result = $result->withHeader($key, $value);
95 $result = $result->withHeader(
99 $result = $result->withHeader(
106 $result = $result->withHeader(Resources::DATE, $date);
110 $result = $result->withHeader(Resources::X_MS_CLIENT_REQUEST_ID, \uniqid());
/dports/devel/spark/spark-2.1.1/sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/csv/
H A DCSVSuite.scala64 withHeader: Boolean,
72 val numRows = if (withHeader) numCars else numCars + 1
78 if (withHeader) {
107 verifyCars(cars, withHeader = false, checkTypes = false)
127 verifyCars(cars, withHeader = true, checkTypes = true)
162 verifyCars(cars, withHeader = true)
212 verifyCars(cars, withHeader = true)
344 verifyCars(carsCopy, withHeader = true)
368 verifyCars(carsCopy, withHeader = true)
585 verifyCars(carsCopy, withHeader = true)
[all …]
/dports/www/ilias/ILIAS-5.4.25/Services/FileDelivery/classes/
H A DDelivery.php144 …$response = $this->httpService->response()->withHeader('X-ILIAS-FileDelivery-Method', $this->getDe…
171 …$response = $this->httpService->response()->withHeader(ResponseHeader::CONTENT_TYPE, $this->getMim…
181 … $response = $this->httpService->response()->withHeader(ResponseHeader::ACCEPT_RANGES, 'bytes');
186 …$response = $this->httpService->response()->withHeader(ResponseHeader::CONTENT_LENGTH, (string) fi…
189 $response = $this->httpService->response()->withHeader(ResponseHeader::CONNECTION, "close");
196 …->httpService->response()->withHeader(ResponseHeader::CACHE_CONTROL, 'must-revalidate, post-check=…
535 $response = $this->httpService->response()->withHeader('ETag', $this->getEtag());
544 $response = $this->httpService->response()->withHeader(
727 $response = $response->withHeader(
734 $response = $response->withHeader('Content-Description', $this->getDownloadFileName());
/dports/www/ilias/ILIAS-5.4.25/libs/composer/vendor/dflydev/fig-cookies/tests/Dflydev/FigCookies/
H A DFigRequestCookiesTest.php13 ->withHeader(Cookies::COOKIE_HEADER, 'theme=light; sessionToken=RAPELCGRQ; hello=world')
28 ->withHeader(Cookies::COOKIE_HEADER, 'theme=light; sessionToken=RAPELCGRQ; hello=world')
45 ->withHeader(Cookies::COOKIE_HEADER, 'theme=light; sessionToken=RAPELCGRQ; hello=world')
64 ->withHeader(Cookies::COOKIE_HEADER, 'theme=light; sessionToken=RAPELCGRQ; hello=world')
/dports/devel/fossology-nomos-standalone/fossology-3.11.0/src/www/ui/api/Middlewares/
H A DRestAuthMiddleware.php99 ->withHeader('Access-Control-Allow-Origin', $SysConf['SYSCONFIG']['CorsOrigins'])
100 ->withHeader('Access-Control-Expose-Headers', 'Look-at, X-Total-Pages, Retry-After')
101 …->withHeader('Access-Control-Allow-Headers', 'X-Requested-With, Content-Type, Accept, Origin, Auth…
102 ->withHeader('Access-Control-Allow-Methods', 'GET, POST, PUT, DELETE, PATCH, OPTIONS')
103 ->withHeader('Access-Control-Allow-Credentials', 'true');
/dports/misc/valentina/valentina-5b7e98bf48a86e3c444423a9f03533440a39aad9/src/libs/vmisc/
H A Dqxtcsvmodel.h58 …explicit QxtCsvModel(QIODevice *file, QObject *parent = nullptr, bool withHeader = false, QChar se…
60 … explicit QxtCsvModel(const QString &filename, QObject *parent = nullptr, bool withHeader = false,
93 …void setSource(QIODevice *file, bool withHeader = false, QChar separator = ',', QTextCodec* codec …
94 void setSource(const QString &filename, bool withHeader = false, QChar separator = ',',
97 bool toCSV(QIODevice *file, QString &error, bool withHeader = false, QChar separator = ',',
99 …bool toCSV(const QString &filename, QString &error, bool withHeader = false, QChar separator = ',',
H A Dqxtcsvmodel.cpp82 QxtCsvModel::QxtCsvModel(QIODevice *file, QObject *parent, bool withHeader, QChar separator, QTextC… in QxtCsvModel() argument
86 setSource(file, withHeader, separator, codec); in QxtCsvModel()
104 setSource(&src, withHeader, separator, codec); in QxtCsvModel()
180 void QxtCsvModel::setSource(const QString &filename, bool withHeader, QChar separator, QTextCodec* … in setSource() argument
183 setSource(&src, withHeader, separator, codec); in setSource()
195 void QxtCsvModel::setSource(QIODevice *file, bool withHeader, QChar separator, QTextCodec* codec) in setSource() argument
198 bool headerSet = !withHeader; in setSource()
203 if (withHeader) in setSource()
608 if (withHeader) in toCSV()
667 bool QxtCsvModel::toCSV(const QString &filename, QString &error, bool withHeader, QChar separator, in toCSV() argument
[all …]
/dports/www/webtrees20/webtrees-2.0.19/webtrees/app/Factories/
H A DImageFactory.php130 ->withHeader('X-Thumbnail-Exception', get_class($ex) . ': ' . $ex->getMessage());
135 ->withHeader('X-Thumbnail-Exception', get_class($ex) . ': ' . $ex->getMessage());
170 ->withHeader('X-Image-Exception', $ex->getMessage());
175 ->withHeader('X-Image-Exception', $ex->getMessage());
239 ->withHeader('X-Thumbnail-Exception', get_class($ex) . ': ' . $ex->getMessage());
244 ->withHeader('X-Thumbnail-Exception', get_class($ex) . ': ' . $ex->getMessage());
336 ->withHeader('X-Image-Exception', 'SVG image blocked due to XSS.');
341 ->withHeader('content-type', $mime_type)
342 ->withHeader('content-security-policy', 'script-src none;frame-src none');
349 …->withHeader('content-disposition', 'attachment; filename="' . addcslashes(basename($filename), '"…
/dports/www/typo3-11/typo3_src-11.5.7/typo3/sysext/filelist/Classes/Controller/
H A DFileDownloadController.php109 ->withHeader('Content-Type', 'application/json; charset=utf-8')
115 ->withHeader('Content-Type', 'application/zip')
116 ->withHeader('Content-Disposition', 'attachment; filename=' . $downloadFileName)
117 ->withHeader('Content-Transfer-Encoding', 'binary')
118 ->withHeader('Pragma', 'no-cache')
119 ->withHeader('Cache-Control', 'public, must-revalidate')
/dports/www/ilias6/ILIAS-6.14/Services/MainMenu/classes/Storage/Consumer/
H A DDownloadConsumer.php49 $response = $response->withHeader(ResponseHeader::CONTENT_TYPE, $mime_type);
50 $response = $response->withHeader(ResponseHeader::CONNECTION, 'close');
51 $response = $response->withHeader(ResponseHeader::ACCEPT_RANGES, 'bytes');
52 $response = $response->withHeader(
H A DInlineConsumer.php49 $response = $response->withHeader(ResponseHeader::CONTENT_TYPE, $mime_type);
50 $response = $response->withHeader(ResponseHeader::CONNECTION, 'close');
51 $response = $response->withHeader(ResponseHeader::ACCEPT_RANGES, 'bytes');
52 $response = $response->withHeader(
/dports/devel/fossology-nomos-standalone/fossology-3.11.0/src/www/ui/api/Controllers/
H A DReportController.php197 $newResponse = $response->withHeader('Retry-After', '10');
209 $newResponse = $response->withHeader('Content-Description',
211 ->withHeader('Content-Type',
213 ->withHeader('Content-Disposition',
215 ->withHeader('Cache-Control', 'must-revalidate')
216 ->withHeader('Pragma', 'private')
217 ->withHeader('Content-Length', filesize($responseContent));
/dports/www/ilias/ILIAS-5.4.25/Services/FileDelivery/classes/FileDeliveryTypes/
H A DPHPChunked.php80 $response = $this->httpService->response()->withHeader("Accept-Ranges", "0-$length");
97 …$response = $this->httpService->response()->withStatus(416)->withHeader(ResponseHeader::CONTENT_RA…
122 …$response = $this->httpService->response()->withStatus(416)->withHeader(ResponseHeader::CONTENT_RA…
140 …e = $this->httpService->response()->withHeader(ResponseHeader::CONTENT_RANGE, "bytes $start-$end/$…
/dports/www/ilias6/ILIAS-6.14/Services/FileDelivery/classes/FileDeliveryTypes/
H A DPHPChunked.php80 $response = $this->httpService->response()->withHeader("Accept-Ranges", "0-$length");
97 …$response = $this->httpService->response()->withStatus(416)->withHeader(ResponseHeader::CONTENT_RA…
122 …$response = $this->httpService->response()->withStatus(416)->withHeader(ResponseHeader::CONTENT_RA…
140 …e = $this->httpService->response()->withHeader(ResponseHeader::CONTENT_RANGE, "bytes $start-$end/$…
/dports/deskutils/egroupware/egroupware/openid/src/ResponseTypes/
H A DIntrospectionResponse.php120 ->withHeader('pragma', 'no-cache')
121 ->withHeader('cache-control', 'no-store')
122 ->withHeader('content-type', 'application/json; charset=UTF-8');
/dports/www/phalcon4/cphalcon-4.1.1/tests/unit/Http/Message/Request/
H A DWithHeaderCest.php39 $newInstance = $request->withHeader(
85 $newInstance = $request->withHeader(
114 $newInstance = $request->withHeader(
/dports/net-mgmt/icingaweb2-module-reactbundle/icingaweb2-module-reactbundle-0.9.0/vendor/react/http/src/Io/
H A DStreamingServer.php249 $response = $response->withHeader('Server', 'ReactPHP/1');
257 $response = $response->withHeader('Date', gmdate('D, d M Y H:i:s') . ' GMT');
269 …$response = $response->withHeader('Content-Length', (string)$body->getSize())->withoutHeader('Tran…
272 $response = $response->withHeader('Transfer-Encoding', 'chunked');
282 $response = $response->withHeader('Connection', 'upgrade');
286 $response = $response->withHeader('Connection', 'close');

12345678910>>...27