Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for POST (0.27 sec)

  1. okhttp/src/test/java/okhttp3/CallTest.kt

        assertThat(recordedRequest.method).isEqualTo("POST")
        assertThat(recordedRequest.body.readUtf8()).isEqualTo("def")
        assertThat(recordedRequest.headers["Content-Length"]).isEqualTo("3")
        assertThat(recordedRequest.headers["Content-Type"]).isEqualTo("text/plain; charset=utf-8")
      }
    
      @Test
      fun post_HTTPS() {
        enableTls()
        post()
      }
    
      @Test
      fun post_HTTP_2() {
        enableProtocol(Protocol.HTTP_2)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

      /** For example, empty Protobuf RPC messages end up as a zero-length POST.  */
      @Test
      fun zeroLengthPost() {
        zeroLengthPayload("POST")
      }
    
      @Test
      fun zeroLengthPost_HTTP_2() {
        enableProtocol(Protocol.HTTP_2)
        zeroLengthPost()
      }
    
      /** For example, creating an Amazon S3 bucket ends up as a zero-length POST.  */
      @Test
      fun zeroLengthPut() {
        zeroLengthPayload("PUT")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CacheTest.kt

      fun requestMethodPostIsNotCached() {
        // We could support this but choose not to for implementation simplicity
        testRequestMethod("POST", false)
      }
    
      @Test
      fun requestMethodPostIsNotCachedUnlessOverridden() {
        // Supported via cacheUrlOverride
        testRequestMethod("POST", true, withOverride = true)
      }
    
      @Test
      fun requestMethodPutIsNotCached() {
        testRequestMethod("PUT", false)
      }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  4. fastapi/routing.py

                    from Starlette and supported for compatibility.
    
                    In FastAPI, you normally would use the *path operation methods*,
                    like `router.get()`, `router.post()`, etc.
                    """
                ),
            ] = None,
            redirect_slashes: Annotated[
                bool,
                Doc(
                    """
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  5. istioctl/pkg/authz/testdata/configdump.yaml

                            "rules": [
                             {
                              "header": {
                               "name": ":method",
                               "exact_match": "POST"
                              }
                             }
                            ]
                           }
                          },
                          {
                           "or_rules": {
    Others
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Jun 21 14:20:23 GMT 2023
    - 206.7K bytes
    - Viewed (2)
  6. cmd/object-handlers.go

    		ReqParams:    extractReqParams(r),
    		RespElements: extractRespElements(w),
    		UserAgent:    r.UserAgent(),
    		Host:         handlers.GetSourceIP(r),
    	})
    }
    
    // RestoreObjectHandler - POST restore object handler.
    // ----------
    func (api objectAPIHandlers) PostRestoreObjectHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "PostRestoreObject")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 125K bytes
    - Viewed (0)
  7. fastapi/applications.py

            """
            Add a *path operation* using an HTTP POST operation.
    
            ## Example
    
            ```python
            from fastapi import FastAPI
            from pydantic import BaseModel
    
            class Item(BaseModel):
                name: str
                description: str | None = None
    
            app = FastAPI()
    
            @app.post("/items/")
            def create_item(item: Item):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  8. api/maven-api-model/src/main/mdo/maven.mdo

              </description>
              <type>String</type>
            </field>
            <field>
              <name>post</name>
              <version>3.0.0+</version>
              <description>
                The email address or link that can be used to post to
                the mailing list.  If this is an email address, a
                {@code mailto:} link will automatically be created
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
  9. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    pm
    
    // pn : http://www.government.pn/PnRegistry/policies.htm
    pn
    gov.pn
    co.pn
    org.pn
    edu.pn
    net.pn
    
    // post : https://en.wikipedia.org/wiki/.post
    post
    
    // pr : http://www.nic.pr/index.asp?f=1
    pr
    com.pr
    net.pr
    org.pr
    gov.pr
    edu.pr
    isla.pr
    pro.pr
    biz.pr
    info.pr
    name.pr
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
  10. src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java

        /** The key of the message: Post Office Box */
        public static final String LABELS_user_postOfficeBox = "{labels.user_postOfficeBox}";
    
        /** The key of the message: Post Office Box */
        public static final String LABELS_POST_OFFICE_BOX = "{labels.postOfficeBox}";
    
        /** The key of the message: Initials */
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Fri Mar 22 11:58:34 GMT 2024
    - 146.4K bytes
    - Viewed (0)
Back to top