Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1231 - 1240 of 1,615 for LENGTH (0.04 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

         * Returns true if [fieldName] is content specific and therefore should always be used
         * from cached headers.
         */
        private fun isContentSpecificHeader(fieldName: String): Boolean {
          return "Content-Length".equals(fieldName, ignoreCase = true) ||
            "Content-Encoding".equals(fieldName, ignoreCase = true) ||
            "Content-Type".equals(fieldName, ignoreCase = true)
        }
      }
    }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Mar 22 07:09:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/MultipartBodyTest.kt

        }
      }
    
      @Test
      fun contentLengthHeaderIsForbidden() {
        val multipart = MultipartBody.Builder()
        assertFailsWith<IllegalArgumentException> {
          multipart.addPart(
            headersOf("Content-Length", "13"),
            "Hello, World!".toRequestBody(null),
          )
        }
      }
    
      @Test
      @Throws(IOException::class)
      fun partAccessors() {
        val body =
          MultipartBody.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 18 07:02:47 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/compare/sds/util.go

    		GetTrustedCa().
    		GetInlineBytes()
    
    	// seems as though the most straightforward way to tell whether this is a root ca or not
    	// is to check whether the inline bytes of the cert chain or the trusted ca field is zero length
    	if len(certChainSecret) > 0 {
    		builder.Data(string(certChainSecret))
    	} else if len(caDataSecret) > 0 {
    		builder.Data(string(caDataSecret))
    	} else {
    		return parseTrustBundles(secretTyped, state)
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 28 19:52:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

                } else if (value instanceof Integer) {
                    data.putValue(key, ((Integer) value).toString());
                } else if (value instanceof Address[]) {
                    final int size = ((Address[]) value).length;
                    final String[] values = new String[size];
                    for (int i = 0; i < size; i++) {
                        final Address address = ((Address[]) value)[i];
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven4ScopeManagerConfiguration.java

                    all(),
                    MavenArtifactProperties.LOCAL_PATH));
    
            // == sanity check
            if (result.size() != org.apache.maven.api.DependencyScope.values().length - 1) { // sans "undefined"
                throw new IllegalStateException("Maven4 API dependency scope mismatch");
            }
    
            return result;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. cmd/http-tracer.go

    			tt = madmin.TraceS3
    		}
    
    		// Calculate input body size with headers
    		reqHeaders := r.Header.Clone()
    		reqHeaders.Set("Host", r.Host)
    		if len(r.TransferEncoding) == 0 {
    			reqHeaders.Set("Content-Length", strconv.Itoa(int(r.ContentLength)))
    		} else {
    			reqHeaders.Set("Transfer-Encoding", strings.Join(r.TransferEncoding, ","))
    		}
    		inputBytes := reqRecorder.Size()
    		for k, v := range reqHeaders {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. cmd/storage-interface.go

    	CreateFile(ctx context.Context, origvolume, olume, path string, size int64, reader io.Reader) error
    	ReadFileStream(ctx context.Context, volume, path string, offset, length int64) (io.ReadCloser, error)
    	RenameFile(ctx context.Context, srcVolume, srcPath, dstVolume, dstPath string) error
    	RenamePart(ctx context.Context, srcVolume, srcPath, dstVolume, dstPath string, meta []byte) error
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. cmd/object-handlers_test.go

    			if rec.Code != 200 {
    				t.Errorf("Test %d: Did not receive a 200 response: %d", i+1, rec.Code)
    			}
    			contentLength = rec.Header().Get("Content-Length")
    		}
    
    		if contentLength != fmt.Sprintf("%d", objectLength(input)) {
    			t.Errorf("Test %d: Content length is mismatching: got %s (expected: %d)", i+1, contentLength, objectLength(input))
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  10. internal/arn/arn_test.go

    				Partition:    "minio",
    				Service:      "iam",
    				Region:       "us-east-1",
    				ResourceType: "role",
    				ResourceID:   "-my-role",
    			},
    			wantErr: false,
    		},
    		{
    			name: "invalid ARN length must fail",
    			args: args{
    				arnStr: "arn:minio:",
    			},
    			wantArn: ARN{},
    			wantErr: true,
    		},
    		{
    			name: "invalid ARN partition must fail",
    			args: args{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 08:31:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top