Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,576 for daga (0.04 sec)

  1. docs/en/docs/tutorial/request-forms.md

    ///
    
    ## About "Form Fields"
    
    The way HTML forms (`<form></form>`) sends the data to the server normally uses a "special" encoding for that data, it's different from JSON.
    
    **FastAPI** will make sure to read that data from the right place instead of JSON.
    
    /// note | "Technical Details"
    
    Data from forms is normally encoded using the "media type" `application/x-www-form-urlencoded`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. tests/test_modules_same_name_body/test_main.py

    from .app.main import app
    
    client = TestClient(app)
    
    
    def test_post_a():
        data = {"a": 2, "b": "foo"}
        response = client.post("/a/compute", json=data)
        assert response.status_code == 200, response.text
        data = response.json()
    
    
    def test_post_a_invalid():
        data = {"a": "bar", "b": "foo"}
        response = client.post("/a/compute", json=data)
        assert response.status_code == 422, response.text
    
    
    def test_post_b():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/Lmhosts.java

                        }
                        ip = ( ip << 8 ) + b;
                    }
                    while ( i < data.length && Character.isWhitespace(data[ i ]) ) {
                        i++;
                    }
                    j = i;
                    while ( j < data.length && Character.isWhitespace(data[ j ]) == false ) {
                        j++;
                    }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.1K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/BuildResumptionDataRepository.java

    /**
     * Instances of this interface retrieve and store data for the --resume / -r feature. This data is used to ensure newer
     * builds of the same project, that have the -r command-line flag, skip successfully built projects during earlier
     * invocations of Maven.
     */
    public interface BuildResumptionDataRepository {
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResultData.java

        private String transformerName;
    
        private byte[] data;
    
        private String encoding;
    
        private Set<RequestData> childUrlSet = new LinkedHashSet<>();
    
        public byte[] getData() {
            return data;
        }
    
        public void setData(final byte[] data) {
            this.data = data;
        }
    
        public void addUrl(final RequestData url) {
            childUrlSet.add(url);
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. internal/config/crypto_test.go

    	"testing"
    
    	"github.com/minio/minio/internal/kms"
    )
    
    var encryptDecryptTests = []struct {
    	Data    []byte
    	Context kms.Context
    }{
    	{
    		Data:    nil,
    		Context: nil,
    	},
    	{
    		Data:    []byte{1},
    		Context: nil,
    	},
    	{
    		Data:    []byte{1},
    		Context: kms.Context{"key": "value"},
    	},
    	{
    		Data:    make([]byte, 1<<20),
    		Context: kms.Context{"key": "value", "a": "b"},
    	},
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

            while (trace != null) {
                Object data = trace.getData();
                if (data instanceof CollectStepData) {
                    collectStepTrace = (CollectStepData) data;
                } else if (data instanceof ArtifactDescriptorRequest) {
                    artifactDescriptorRequest = (ArtifactDescriptorRequest) data;
                } else if (data instanceof ArtifactRequest) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. internal/ringbuffer/ring_buffer_benchmark_test.go

    	rb.SetBlocking(true)
    	data := []byte(strings.Repeat("a", sz))
    	buf := make([]byte, sz)
    
    	go func() {
    		for {
    			rb.Write(data)
    		}
    	}()
    
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		rb.Read(buf)
    	}
    }
    
    func BenchmarkIoPipeReader(b *testing.B) {
    	pr, pw := io.Pipe()
    	data := []byte(strings.Repeat("a", 512))
    	buf := make([]byte, 512)
    
    	go func() {
    		for {
    			pw.Write(data)
    		}
    	}()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryCache.java

         * @param key The key to use associate the data with, must not be {@code null}.
         * @param data The data to store in the cache, may be {@code null}.
         */
        void put(RepositoryRequest request, Object key, Object data);
    
        /**
         * Gets the specified data from the cache. <strong>Warning:</strong> The cache will directly return the saved
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java

                searchPaging(data, form);
            });
        }
    
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse reset(final SearchForm form) {
            validate(form, messages -> {}, this::asDictIndexHtml);
            protwordsPager.clear();
            return asHtml(path_AdminDictProtwords_AdminDictProtwordsJsp).renderWith(data -> {
                searchPaging(data, form);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top