- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 142 for Cors (0.03 sec)
-
cmd/dummy-handlers.go
func (api objectAPIHandlers) DeleteBucketWebsiteHandler(w http.ResponseWriter, r *http.Request) { writeSuccessResponseHeadersOnly(w) } // GetBucketCorsHandler - GET bucket cors, a dummy api func (api objectAPIHandlers) GetBucketCorsHandler(w http.ResponseWriter, r *http.Request) { ctx := newContext(r, w, "GetBucketCors") defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 15:25:16 UTC 2024 - 8.8K bytes - Viewed (0) -
docs/pt/docs/advanced/middleware.md
# Middleware Avançado No tutorial principal você leu como adicionar [Middleware Personalizado](../tutorial/middleware.md){.internal-link target=_blank} à sua aplicação. E então você também leu como lidar com [CORS com o `CORSMiddleware`](../tutorial/cors.md){.internal-link target=_blank}. Nesta seção, veremos como usar outros middlewares. ## Adicionando middlewares ASGI
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 30 20:00:22 UTC 2024 - 4.3K bytes - Viewed (0) -
docs/minio-limits.md
- BucketACL (Use [bucket policies](https://min.io/docs/minio/linux/administration/identity-access-management/policy-based-access-control.html) instead) - BucketCORS (CORS enabled by default on all buckets for all HTTP verbs, you can optionally restrict the CORS domains) - BucketWebsite (Use [`caddy`](https://github.com/caddyserver/caddy) or [`nginx`](https://www.nginx.com/resources/wiki/))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 5.9K bytes - Viewed (0) -
docs/zh/docs/advanced/middleware.md
# 高级中间件 用户指南介绍了如何为应用添加[自定义中间件](../tutorial/middleware.md){.internal-link target=_blank} 。 以及如何[使用 `CORSMiddleware` 处理 CORS](../tutorial/cors.md){.internal-link target=_blank}。 本章学习如何使用其它中间件。 ## 添加 ASGI 中间件 因为 **FastAPI** 基于 Starlette,且执行 <abbr title="Asynchronous Server Gateway Interface,异步服务器网关界面">ASGI</abbr> 规范,所以可以使用任意 ASGI 中间件。 中间件不必是专为 FastAPI 或 Starlette 定制的,只要遵循 ASGI 规范即可。 总之,ASGI 中间件是类,并把 ASGI 应用作为第一个参数。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.5K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
// create ES nodes final String clusterName = UUID.randomUUID().toString(); runner.onBuild((number, settingsBuilder) -> { settingsBuilder.put("http.cors.enabled", true); settingsBuilder.put("http.cors.allow-origin", "*"); settingsBuilder.put("discovery.type", "single-node"); }).build(newConfigs().clusterName(clusterName).numOfNode(1)); // wait for yellow status
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 7.7K bytes - Viewed (0) -
internal/config/api/api.go
if corsList == "" { corsAllowOrigin = []string{"*"} // defaults to '*' } else { corsAllowOrigin = strings.Split(corsList, ",") for _, cors := range corsAllowOrigin { if cors == "" { return cfg, errors.New("invalid cors value") } } } cfg.CorsAllowOrigin = corsAllowOrigin if err = config.CheckValidKeys(config.APISubSys, kvs, DefaultKVS, deprecatedKeys...); err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Aug 16 08:43:49 UTC 2024 - 11.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/cors/CorsHandlerFactory.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.cors; import java.util.HashMap; import java.util.Map; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; public class CorsHandlerFactory {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/cors/CorsHandler.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.cors; import jakarta.servlet.ServletRequest; import jakarta.servlet.ServletResponse; public abstract class CorsHandler { protected static final String ACCESS_CONTROL_ALLOW_ORIGIN = "Access-Control-Allow-Origin";
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 1.4K bytes - Viewed (0) -
test-site/app/Global.java
} private void esRun() { ElasticsearchClusterRunner runner = new ElasticsearchClusterRunner(); runner.onBuild((number, settingsBuilder) -> { settingsBuilder.put("http.cors.enabled", true); settingsBuilder.put("index.number_of_shards", 1); settingsBuilder.put("index.number_of_replicas", 0); settingsBuilder.putList("discovery.seed_hosts", "127.0.0.1:9301");
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Feb 23 14:02:03 UTC 2019 - 2.2K bytes - Viewed (0) -
istioctl/pkg/writer/compare/testdata/configdump.json
} }, { "name": "envoy.filters.http.cors", "typed_config": { "@type": "type.googleapis.com/envoy.extensions.filters.http.cors.v3.Cors" } }, {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Mar 12 10:02:09 UTC 2024 - 52K bytes - Viewed (0)