Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 169 for req (0.42 sec)

  1. cmd/test-utils_test.go

    	req.Header.Set("x-amz-decoded-content-length", strconv.FormatInt(dataLength, 10))
    	req.Header.Set("content-length", strconv.FormatInt(contentLength, 10))
    
    	// Seek back to beginning.
    	body.Seek(0, 0)
    
    	// Add body
    	req.Body = io.NopCloser(body)
    	req.ContentLength = contentLength
    
    	return req, nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/NetworkExplorerTest.java

                public void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
                    // Check authentication
                    HttpSession session = req.getSession(false);
                    if (session != null && session.getAttribute("npa-workgroup") != null) {
                        // Authentication successful - mock file operation
                        doFile(req, resp, smbFile);
                    } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  3. cmd/url_test.go

    	b.ResetTimer()
    
    	if err := req.ParseForm(); err != nil {
    		b.Fatal(err)
    	}
    
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			req.Form.Get("uploadId")
    		}
    	})
    
    	// Benchmark ends here. Stop timer.
    	b.StopTimer()
    }
    
    // BenchmarkURLQuery - benchmark URL memory allocations
    func BenchmarkURLQuery(b *testing.B) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java

        @Test
        void testToolchainsForAvailableType() throws Exception {
            // prepare
            MavenSession session = mock(MavenSession.class);
            MavenExecutionRequest req = new DefaultMavenExecutionRequest();
            when(session.getRequest()).thenReturn(req);
            Session sessionv4 = mock(Session.class);
            when(session.getSession()).thenReturn(sessionv4);
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. cmd/streaming-v4-unsigned.go

    func newUnsignedV4ChunkedReader(req *http.Request, trailer bool, signature bool) (io.ReadCloser, APIErrorCode) {
    	if signature {
    		if errCode := doesSignatureMatch(unsignedPayloadTrailer, req, globalSite.Region(), serviceS3); errCode != ErrNone {
    			return nil, errCode
    		}
    	}
    	if trailer {
    		// Discard anything unsigned.
    		req.Trailer = make(http.Header)
    		trailers := req.Header.Values(awsTrailerHeader)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Apr 03 14:55:52 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/http/NtlmSsp.java

                final byte[] challenge) throws IOException {
            return authenticate(tc, req, resp, challenge);
        }
    
        /**
         * Performs NTLM authentication for the servlet request.
         *
         * @param tc
         *            context to use
         *
         * @param req
         *            The request being serviced.
         * @param resp
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTreeImpl.java

                        if (transport.isSMB2()) {
                            final Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(sess.getConfig(), unc);
                            if (andx != null) {
                                req.chain((ServerMessageBlock2) andx);
                            }
                            request = req;
                        } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

                return cookieSecure;
            }
    
            return LaRequestUtil.getOptionalRequest().map(req -> {
                String forwardedProto = req.getHeader("X-Forwarded-Proto");
                if ("https".equalsIgnoreCase(forwardedProto)) {
                    return true;
                }
                return req.isSecure();
            }).orElse(false);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  9. cmd/generic-handlers.go

    // like healthCheck request
    func guessIsHealthCheckReq(req *http.Request) bool {
    	if req == nil {
    		return false
    	}
    	aType := getRequestAuthType(req)
    	return aType == authTypeAnonymous && (req.Method == http.MethodGet || req.Method == http.MethodHead) &&
    		(req.URL.Path == healthCheckPathPrefix+healthCheckLivenessPath ||
    			req.URL.Path == healthCheckPathPrefix+healthCheckReadinessPath ||
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.7K bytes
    - Viewed (1)
  10. cmd/jwt.go

    // Returns nil if the request is authenticated. errNoAuthToken if token missing.
    // Returns errAuthentication for all other errors.
    func metricsRequestAuthenticate(req *http.Request) (*xjwt.MapClaims, []string, bool, error) {
    	token, err := jwtreq.AuthorizationHeaderExtractor.ExtractToken(req)
    	if err != nil {
    		if err == jwtreq.ErrNoTokenInRequest {
    			return nil, nil, false, errNoAuthToken
    		}
    		return nil, nil, false, err
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top