Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for responseBody (0.07 sec)

  1. okhttp/src/main/kotlin/okhttp3/Response.kt

       * from [Call.execute]. Response bodies must be [closed][ResponseBody] and may
       * be consumed only once.
       *
       * This always returns an unreadable [ResponseBody], which may implement [ResponseBody.contentType] and [ResponseBody.contentLength], on responses returned from [cacheResponse], [networkResponse],
       * and [priorResponse].
       */
      @get:JvmName("body") val body: ResponseBody,
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 06 09:38:30 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

                }
            }
            return null;
        }
    
        public void setResponseBody(final byte[] responseBody) {
            responseBodyBytes = responseBody;
        }
    
        public void setResponseBody(final File responseBody, final boolean isTemporary) {
            responseBodyFile = responseBody;
            isTemporaryFile = isTemporary;
        }
    
        public String getCharSet() {
            return charSet;
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/response-status-code.md

    /// note | "Hinweis"
    
    Einige Responsecodes (siehe nächster Abschnitt) kennzeichnen, dass die Response keinen Body hat.
    
    FastAPI versteht das und wird in der OpenAPI-Dokumentation anzeigen, dass es keinen Responsebody gibt.
    
    ///
    
    ## Über HTTP-Statuscodes
    
    /// note | "Hinweis"
    
    Wenn Sie bereits wissen, was HTTP-Statuscodes sind, überspringen Sie dieses Kapitel und fahren Sie mit dem nächsten fort.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:59:43 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/custom-response.md

    ```Python hl_lines="2  7  9"
    {!../../docs_src/custom_response/tutorial006c.py!}
    ```
    
    ### `StreamingResponse`
    
    Nimmt einen asynchronen Generator oder einen normalen Generator/Iterator und streamt den Responsebody.
    
    ```Python hl_lines="2  14"
    {!../../docs_src/custom_response/tutorial007.py!}
    ```
    
    #### Verwendung von `StreamingResponse` mit dateiähnlichen Objekten
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. cmd/server_test.go

    	c.Assert(response.StatusCode, http.StatusOK)
    
    	var buffer bytes.Buffer
    	// extract the body of the response.
    	responseBody, err := io.ReadAll(response.Body)
    	c.Assert(err, nil)
    	// assert the http response body content.
    	c.Assert(true, bytes.Equal(responseBody, buffer.Bytes()))
    }
    
    func (s *TestSuiteCommon) TestBucket(c *check) {
    	// generate a random bucket name.
    	bucketName := getRandomBucketName()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  6. internal/dsync/lock-args.go

    	Quorum *int `msgp:"omitempty"`
    }
    
    // ResponseCode is the response code for a locking request.
    type ResponseCode uint8
    
    // Response codes for a locking request.
    const (
    	RespOK ResponseCode = iota
    	RespLockConflict
    	RespLockNotInitialized
    	RespLockNotFound
    	RespErr
    )
    
    // LockResp is a locking request response.
    type LockResp struct {
    	Code ResponseCode
    	Err  string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. internal/dsync/lock-args_gen.go

    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    func (z *ResponseCode) DecodeMsg(dc *msgp.Reader) (err error) {
    	{
    		var zb0001 uint8
    		zb0001, err = dc.ReadUint8()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = ResponseCode(zb0001)
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z ResponseCode) EncodeMsg(en *msgp.Writer) (err error) {
    	err = en.WriteUint8(uint8(z))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top