Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 781 - 790 of 2,125 for convert (0.04 seconds)

  1. tests/test_strict_content_type_nested.py

    
    def test_strict_inner_on_lax_app_rejects_no_content_type():
        response = client_nested.post("/outer/strict/items/", content='{"key": "value"}')
        assert response.status_code == 422
    
    
    def test_default_inner_inherits_lax_from_app():
        response = client_nested.post("/outer/default/items/", content='{"key": "value"}')
        assert response.status_code == 200
        assert response.json() == {"key": "value"}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Feb 23 17:45:20 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequest.java

    import jcifs.internal.smb2.ServerMessageBlock2Request;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Tree Connect request message.
     *
     * This command is used to connect to a shared resource
     * on the server, such as a file share or printer.
     *
     * @author mbechler
     */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  3. docs/en/docs/advanced/custom-response.md

    You can return it directly.
    
    It accepts the following parameters:
    
    * `content` - A `str` or `bytes`.
    * `status_code` - An `int` HTTP status code.
    * `headers` - A `dict` of strings.
    * `media_type` - A `str` giving the media type. E.g. `"text/html"`.
    
    FastAPI (actually Starlette) will automatically include a Content-Length header. It will also include a Content-Type header, based on the `media_type` and appending a charset for text types.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  4. fess-crawler-lasta/src/main/resources/crawler/urlconverter.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE components PUBLIC "-//DBFLUTE//DTD LastaDi 1.0//EN"
    	"http://dbflute.org/meta/lastadi10.dtd">
    <components namespace="fessCrawler">
    	<include path="crawler/container.xml" />
    
    	<!-- Converts child links to normalize it. -->
    	<component name="urlConvertHelper" class="org.codelibs.fess.crawler.helper.UrlConvertHelper">
    	</component>
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Oct 11 02:16:55 GMT 2015
    - 394 bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/chat/ChatPhaseCallback.java

         */
        void onPhaseComplete(String phase);
    
        /**
         * Called when a chunk of the response is available during streaming.
         *
         * @param content the content chunk
         * @param done true if this is the final chunk
         */
        void onChunk(String content, boolean done);
    
        /**
         * Called when an error occurs during processing.
         *
         * @param phase the phase where the error occurred
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:32:04 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  6. okhttp-brotli/src/test/java/okhttp3/brotli/BrotliInterceptorTest.kt

        }
      }
    
      @Test
      fun testSkipUncompressNoContentResponse() {
        val response =
          response("https://httpbin.org/brotli", EMPTY) {
            header("Content-Encoding", "br")
            code(204)
            message("NO CONTENT")
          }
    
        val same = brotliInterceptor.decompress(response)
    
        val responseString = same.body.string()
        assertThat(responseString).isEmpty()
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Aug 22 08:12:58 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  7. src/main/webapp/WEB-INF/view/admin/searchlist/admin_searchlist.jsp

            <jsp:param name="menuCategoryType" value="log"/>
            <jsp:param name="menuType" value="searchList"/>
        </jsp:include>
        <main class="content-wrapper">
            <div class="content-header">
                <div class="container-fluid">
                    <div class="row mb-2">
                        <div class="col-sm-6">
                            <h1>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/it/admin/DocumentsTests.java

                final Map<String, Object> doc = new HashMap<>();
                doc.put("title", NAME_PREFIX + i);
                doc.put("url", "http://example.com/bulk/" + i);
                doc.put("content", "This is test content for bulk document " + i);
                doc.put("boost", 1.0f);
                doc.put("role", "Rguest");
                documents.add(doc);
            }
    
            requestBody.put("documents", documents);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  9. internal/crypto/sse-s3.go

    	}
    	keyID, kmsKey, sealedKey, err := s3.ParseMetadata(metadata)
    	if err != nil {
    		return key, err
    	}
    	unsealKey, err := k.Decrypt(context.TODO(), &kms.DecryptRequest{
    		Name:           keyID,
    		Ciphertext:     kmsKey,
    		AssociatedData: kms.Context{bucket: path.Join(bucket, object)},
    	})
    	if err != nil {
    		return key, err
    	}
    	err = key.Unseal(unsealKey, sealedKey, s3.String(), bucket, object)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 07 23:55:37 GMT 2024
    - 7.6K bytes
    - Click Count (0)
  10. internal/store/batch_test.go

    	}
    
    	var limit uint32 = 100
    
    	batch := NewBatch[TestItem](BatchConfig[TestItem]{
    		Limit:         limit,
    		Store:         store,
    		CommitTimeout: 5 * time.Minute,
    		Log: func(ctx context.Context, err error, id string, errKind ...any) {
    			t.Log(err)
    		},
    	})
    	defer batch.Close()
    
    	for i := 0; i < int(limit); i++ {
    		if err := batch.Add(testItem); err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.6K bytes
    - Click Count (0)
Back to Top