Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 1,312 for mdtext (0.05 sec)

  1. tests/test_default_response_class_router.py

    app.include_router(
        router_b_override, prefix="/b", default_response_class=PlainTextResponse
    )
    
    
    client = TestClient(app)
    
    json_type = "application/json"
    text_type = "text/plain; charset=utf-8"
    html_type = "text/html; charset=utf-8"
    override_type = "application/x-override"
    
    
    def test_app():
        with client:
            response = client.get("/")
        assert response.json() == {"msg": "Hello World"}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Mar 01 20:49:20 UTC 2020
    - 5K bytes
    - Viewed (0)
  2. src/main/resources/crawler/contentlength.xml

    		class="org.codelibs.fess.crawler.helper.ContentLengthHelper" instance="singleton">
    		<property name="defaultMaxLength">10485760</property><!-- 10M -->
    		<postConstruct name="addMaxLength">
    			<arg>"text/html"</arg>
    			<arg>2621440</arg><!-- 2.5M -->
    		</postConstruct>
    	</component>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 11 06:51:14 UTC 2015
    - 561 bytes
    - Viewed (0)
  3. docs/zh/docs/index.md

    <div style="text-align: right; margin-right: 10%;">Kabir Khan - <strong>微软</strong> <a href="https://github.com/fastapi/fastapi/pull/26" target="_blank"><small>(ref)</small></a></div>
    
    ---
    
    「_我们选择了 **FastAPI** 来创建用于获取**预测结果**的 **REST** 服务。[用于 Ludwig]_」
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Headers.kt

       * according to this method:
       *
       * 1. Original
       * ```
       * Content-Type: text/html
       * Content-Length: 50
       * ```
       *
       * 2. Different order
       *
       * ```
       * Content-Length: 50
       * Content-Type: text/html
       * ```
       *
       * 3. Different case
       *
       * ```
       * content-type: text/html
       * content-length: 50
       * ```
       *
       * 4. Different values
       *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                final String lowerPath = path.toLowerCase(Locale.ROOT);
                if (lowerPath.endsWith(".html")) {
                    response.setContentType("text/html;charset=utf-8");
                } else if (lowerPath.endsWith(".css")) {
                    response.setContentType("text/css");
                } else if (lowerPath.endsWith(".eot")) {
                    response.setContentType("application/vnd.ms-fontobject");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Aug 15 08:29:24 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  6. internal/dsync/locked_rand.go

    package dsync
    
    import (
    	"math/rand"
    	"sync"
    )
    
    // lockedRandSource provides protected rand source, implements rand.Source interface.
    type lockedRandSource struct {
    	lk  sync.Mutex
    	src rand.Source
    }
    
    // Int63 returns a non-negative pseudo-random 63-bit integer as an int64.
    func (r *lockedRandSource) Int63() (n int64) {
    	r.lk.Lock()
    	n = r.src.Int63()
    	r.lk.Unlock()
    	return
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 18 15:39:59 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_settings/test_tutorial001_pv1.py

        monkeypatch.setenv("ADMIN_EMAIL", "******@****.***")
        from docs_src.settings.tutorial001_pv1 import app
    
        client = TestClient(app)
        response = client.get("/info")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "app_name": "Awesome API",
            "admin_email": "******@****.***",
            "items_per_user": 50,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 556 bytes
    - Viewed (0)
  8. tests/test_router_prefix_with_template.py

    
    app.include_router(router, prefix="/{segment}")
    
    
    client = TestClient(app)
    
    
    def test_get():
        response = client.get("/seg/users/foo")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Apr 08 04:37:38 UTC 2020
    - 484 bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

                    .name(NONE)
                    .text("None (disable MavenSecDispatcher)")
                    .add();
            for (DispatcherMeta meta : secDispatcher.availableDispatchers()) {
                if (!meta.isHidden()) {
                    listPromptBuilder
                            .newItem()
                            .name(meta.name())
                            .text(meta.displayName())
                            .add();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. cmd/benchmark-utils_test.go

    	// obtains random bucket name.
    	bucket := getRandomBucketName()
    	// create bucket.
    	err = obj.MakeBucket(context.Background(), bucket, MakeBucketOptions{})
    	if err != nil {
    		b.Fatal(err)
    	}
    
    	// get text data generated for number of bytes equal to object size.
    	textData := generateBytesData(objSize)
    	// generate md5sum for the generated data.
    	// md5sum of the data to written is required as input for PutObject.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 23 15:46:00 UTC 2022
    - 8.2K bytes
    - Viewed (0)
Back to top