Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,210 for expires (0.08 sec)

  1. cmd/signature-v2.go

    		canonicalHeaders += "\n"
    	}
    
    	date := expires // Date is set to expires date for presign operations.
    	if date == "" {
    		// If expires date is empty then request header Date is used.
    		date = headers.Get(xhttp.Date)
    	}
    
    	// From the Amazon docs:
    	//
    	// StringToSign = HTTP-Verb + "\n" +
    	// 	 Content-Md5 + "\n" +
    	//	 Content-Type + "\n" +
    	//	 Date/Expires + "\n" +
    	//	 CanonicalizedProtocolHeaders +
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. cmd/signature-v2_test.go

    		},
    		// (3) Should give an expired request if it has expired.
    		{
    			queryParams: map[string]string{
    				"Expires":        "60",
    				"Signature":      "badsignature",
    				"AWSAccessKeyId": accessKey,
    			},
    			expected: ErrExpiredPresignRequest,
    		},
    		// (4) Should error when the signature does not match.
    		{
    			queryParams: map[string]string{
    				"Expires":        fmt.Sprintf("%d", now.Unix()+60),
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/exec/Crawler.java

            public String propertiesPath;
    
            /** Number of days after which documents should expire and be cleaned up. */
            @Option(name = "-e", aliases = "--expires", metaVar = "expires", usage = "Expires for documents")
            public String expires;
    
            /** Interval in milliseconds for hot thread monitoring and logging. */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 31K bytes
    - Viewed (0)
  4. cmd/object-api-datatypes.go

    	Inlined bool
    
    	DataBlocks   int
    	ParityBlocks int
    }
    
    // ExpiresStr returns a stringified version of Expires header in http.TimeFormat
    func (o ObjectInfo) ExpiresStr() string {
    	var expires string
    	if !o.Expires.IsZero() {
    		expires = o.Expires.UTC().Format(http.TimeFormat)
    	}
    	return expires
    }
    
    // ArchiveInfo returns any saved zip archive meta information.
    // It will be decrypted if needed.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

            purgeDocJob = new PurgeDocJob();
    
            // Reset flags and variables
            deleteByQueryCalled = false;
            deleteIndex = null;
            deleteQuery = null;
            expiresFieldName = "expires";
            documentUpdateIndex = "fess.update";
    
            // Create mock SearchEngineClient
            searchEngineClient = new SearchEngineClient() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

        }
    
        public void test_process_withExpires() throws Exception {
            // Test that expires value is properly set
            Crawler.Options options = new Crawler.Options();
            options.sessionId = "test-session";
            options.expires = "14";
    
            // Verify the expires value is set
            assertEquals("14", options.expires);
        }
    
        public void test_process_withInvalidExpires() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java

        /**
         * The token parameter.
         */
        public static final String TOKEN = "token";
    
        /**
         * The expires parameter.
         */
        public static final String EXPIRES = "expires";
    
        /**
         * The expired time parameter.
         */
        public static final String EXPIRED_TIME = "expiredTime";
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

            .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS))
            .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS))
            .body("ABC")
            .build(),
        )
        server.enqueue(
          MockResponse
            .Builder()
            .addHeader("Last-Modified: " + formatDate(-5, TimeUnit.MINUTES))
            .addHeader("Expires: " + formatDate(2, TimeUnit.HOURS))
            .body("DEF")
            .build(),
        )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
  9. cmd/api-headers.go

    		w.Header().Set(xhttp.ContentType, objInfo.ContentType)
    	}
    
    	if objInfo.ContentEncoding != "" {
    		w.Header().Set(xhttp.ContentEncoding, objInfo.ContentEncoding)
    	}
    
    	if !objInfo.Expires.IsZero() {
    		w.Header().Set(xhttp.Expires, objInfo.Expires.UTC().Format(http.TimeFormat))
    	}
    
    	// Set tag count if object has tags
    	if len(objInfo.UserTags) > 0 {
    		tags, _ := tags.ParseObjectTags(objInfo.UserTags)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigTest.java

                        return "click_count";
                    case FessConfig.INDEX_FIELD_config_id:
                        return "config_id";
                    case FessConfig.INDEX_FIELD_EXPIRES:
                        return "expires";
                    case FessConfig.INDEX_FIELD_URL:
                        return "url";
                    case FessConfig.INDEX_FIELD_doc_id:
                        return "doc_id";
                    case FessConfig.INDEX_FIELD_ID:
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.8K bytes
    - Viewed (0)
Back to top