- Sort Score
- Result 10 results
- Languages All
Results 581 - 590 of 8,662 for HTTP (0.02 sec)
-
docs/iam/identity-manager-plugin.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package main import ( "encoding/json" "errors" "fmt" "log" "net/http" ) func writeErrorResponse(w http.ResponseWriter, err error) { w.WriteHeader(http.StatusBadRequest) json.NewEncoder(w).Encode(map[string]string{ "reason": fmt.Sprintf("%v", err), }) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 21:31:13 UTC 2024 - 2.1K bytes - Viewed (0) -
cmd/metrics.go
} }) } // NoAuthMiddleware no auth middle ware. func NoAuthMiddleware(h http.Handler) http.Handler { return h } // AuthMiddleware checks if the bearer token is valid and authorized. func AuthMiddleware(h http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 16.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java
pathMapping.setReplacement("http://localhost/"); pathMappingList.add(pathMapping); pathMappingHelper.cachedPathMappingList = pathMappingList; String text = "\"file:///home/\""; assertEquals("\"http://localhost/\"", pathMappingHelper.replaceUrls(text)); text = "\"file:///home/user/\""; assertEquals("\"http://localhost/user/\"", pathMappingHelper.replaceUrls(text));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.3K bytes - Viewed (0) -
docs/site-replication/gen-oidc-sts-cred.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package main // This programs mocks user interaction against Dex IDP and generates STS // credentials. It is for MinIO testing purposes only. // // Run like: // // $ MINIO_ENDPOINT=http://localhost:9000 go run gen-oidc-sts-cred.go import ( "context" "fmt" "log" "net/http" "os"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 29 01:27:09 UTC 2022 - 2.3K bytes - Viewed (0) -
cmd/copy-part-range.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "net/http" "net/url" ) // Writes S3 compatible copy part range error. func writeCopyPartErr(ctx context.Context, w http.ResponseWriter, err error, url *url.URL) { switch err { case errInvalidRange:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 18 03:27:04 UTC 2021 - 2.5K bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/inheritance/plugin-configuration-expected.xml
specific language governing permissions and limitations under the License. --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>inheritance</groupId> <artifactId>child</artifactId>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
docs/distributed/iam-import-with-openid.sh
if [ -n "$TEST_DEBUG" ]; then set -x fi pkill minio docker rm -f $(docker ps -aq) rm -rf /tmp/openid{1..4} export MC_HOST_myminio="http://minioadmin:minioadmin@localhost:22000" # The service account used below is already present in iam configuration getting imported export MC_HOST_myminio1="http://dillon-service-2:dillon-service-2@localhost:22000" # Start MinIO instance export CI=true if [ ! -f ./mc ]; then
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 17 16:45:46 UTC 2024 - 2.3K bytes - Viewed (0) -
internal/rest/rpc-stats.go
// GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package rest import ( "net/http" "net/http/httptrace" "sync/atomic" "time" ) var globalStats = struct { errs uint64 tcpDialErrs uint64 tcpDialCount uint64
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 18:21:34 UTC 2024 - 2.6K bytes - Viewed (0) -
docs/extensions/s3zip/examples/boto3/main.py
#!/usr/bin/env/python import boto3 from botocore.client import Config s3 = boto3.client('s3', endpoint_url='http://localhost:9000', aws_access_key_id='YOUR-ACCESSKEYID', aws_secret_access_key='YOUR-SECRETACCESSKEY', config=Config(signature_version='s3v4'), region_name='us-east-1') def _add_header(request, **kwargs): request.headers.add_header('x-minio-extract', 'true')
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 04 21:15:45 UTC 2021 - 771 bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/cluster_test.go
// Copyright Istio Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri May 29 20:42:01 UTC 2020 - 605 bytes - Viewed (0)