Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 311 - 320 of 346 for contentType (0.07 seconds)

  1. cmd/api-response.go

    		bugLogIf(context.Background(), fmt.Errorf("invalid WriteHeader code %v", statusCode))
    		statusCode = http.StatusInternalServerError
    	}
    	setCommonHeaders(w)
    	if mType != mimeNone {
    		w.Header().Set(xhttp.ContentType, string(mType))
    	}
    	w.Header().Set(xhttp.ContentLength, strconv.Itoa(len(response)))
    	w.WriteHeader(statusCode)
    	if response != nil {
    		w.Write(response)
    	}
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 35K bytes
    - Click Count (0)
  2. src/main/webapp/js/admin/jquery-3.7.1.min.map

    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 26 01:07:52 GMT 2024
    - 131.6K bytes
    - Click Count (0)
  3. cmd/object-handlers.go

    // supportedHeadGetReqParams - supported request parameters for GET and HEAD presigned request.
    var supportedHeadGetReqParams = map[string]string{
    	"response-expires":             xhttp.Expires,
    	"response-content-type":        xhttp.ContentType,
    	"response-cache-control":       xhttp.CacheControl,
    	"response-content-encoding":    xhttp.ContentEncoding,
    	"response-content-language":    xhttp.ContentLanguage,
    	"response-content-disposition": xhttp.ContentDisposition,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 120.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

            };
    
            // Test with JSON
            OutputStream jsonOutput = SearchEngineUtil.getXContentBuilderOutputStream(callback, XContentType.JSON);
            assertNotNull(jsonOutput);
    
            // Test with YAML
            OutputStream yamlOutput = SearchEngineUtil.getXContentBuilderOutputStream(callback, XContentType.YAML);
            assertNotNull(yamlOutput);
        }
    
        @Test
        public void test_getXContentOutputStream_success() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  5. benchmarks/src/main/java/org/elasticsearch/benchmark/search/fetch/subphase/FetchSourcePhaseBenchmark.java

            XContentBuilder builder = new XContentBuilder(
                XContentType.JSON.xContent(),
                streamOutput,
                includesSet,
                excludesSet,
                XContentType.JSON.toParsedMediaType()
            );
            try (
                XContentParser parser = XContentType.JSON.xContent()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 13 17:34:14 GMT 2021
    - 5.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/suggest/util/ScrollOperationHelperTest.java

    import org.junit.AfterClass;
    import org.junit.Before;
    import org.junit.BeforeClass;
    import org.junit.Test;
    import org.opensearch.action.index.IndexResponse;
    import org.opensearch.common.xcontent.XContentType;
    import org.opensearch.index.query.QueryBuilders;
    import org.opensearch.transport.client.Client;
    
    /**
     * Integration tests for ScrollOperationHelper.
     */
    public class ScrollOperationHelperTest {
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 7K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/reflect/TypeResolver.java

         * superclass and the super interfaces of {@code contextClass}.
         */
        static ImmutableMap<TypeVariableKey, Type> getTypeMappings(Type contextType) {
          checkNotNull(contextType);
          TypeMappingIntrospector introspector = new TypeMappingIntrospector();
          introspector.visit(contextType);
          return ImmutableMap.copyOf(introspector.mappings);
        }
    
        @Override
        void visitClass(Class<?> clazz) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 22:30:05 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

         */
        static class TestNegotiateContextRequest implements NegotiateContextRequest {
            private final int contextType;
    
            TestNegotiateContextRequest(int contextType) {
                this.contextType = contextType;
            }
    
            @Override
            public int getContextType() {
                return contextType;
            }
    
            @Override
            public int encode(byte[] dst, int dstIndex) {
                return 0;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  9. docs_src/request_forms_and_files/tutorial001_py310.py

    @app.post("/files/")
    async def create_file(
        file: bytes = File(), fileb: UploadFile = File(), token: str = Form()
    ):
        return {
            "file_size": len(file),
            "token": token,
            "fileb_content_type": fileb.content_type,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 317 bytes
    - Click Count (0)
  10. docs_src/request_forms_and_files/tutorial001_an_py310.py

        fileb: Annotated[UploadFile, File()],
        token: Annotated[str, Form()],
    ):
        return {
            "file_size": len(file),
            "token": token,
            "fileb_content_type": fileb.content_type,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 386 bytes
    - Click Count (0)
Back to Top