Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 481 - 490 of 558 for body (0.01 seconds)

  1. cmd/peer-rest-server.go

    		return
    	}
    
    	var rulesMap event.RulesMap
    	if r.ContentLength < 0 {
    		s.writeErrorResponse(w, errInvalidArgument)
    		return
    	}
    
    	err := gob.NewDecoder(r.Body).Decode(&rulesMap)
    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    
    	globalEventNotifier.AddRulesMap(bucketName, rulesMap)
    }
    
    // HealthHandler - returns true of health
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 53.6K bytes
    - Click Count (0)
  2. cmd/peer-rest-client.go

    func (client *peerRESTClient) callWithContext(ctx context.Context, method string, values url.Values, body io.Reader, length int64) (respBody io.ReadCloser, err error) {
    	if client == nil {
    		return nil, errPeerNotReachable
    	}
    
    	if values == nil {
    		values = make(url.Values)
    	}
    
    	respBody, err = client.restClient.Call(ctx, method, values, body, length)
    	if err == nil {
    		return respBody, nil
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 26.1K bytes
    - Click Count (0)
  3. docs/de/docs/tutorial/path-params.md

    ///
    
    #### *Enumeration-Member* zurückgeben { #return-enumeration-members }
    
    Sie können *Enum-Member* in ihrer *Pfadoperation* zurückgeben, sogar verschachtelt in einem JSON-Body (z. B. als `dict`).
    
    Diese werden zu ihren entsprechenden Werten konvertiert (in diesem Fall Strings), bevor sie zum Client übertragen werden:
    
    {* ../../docs_src/path_params/tutorial005_py39.py hl[18,21,23] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  4. docs/ko/docs/tutorial/response-model.md

    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * 기타.
    
    {* ../../docs_src/response_model/tutorial001.py hl[17] *}
    
    /// note | 참고
    
    `response_model`은 "데코레이터" 메소드(`get`, `post`, 등)의 매개변수입니다. 모든 매개변수들과 본문(body)처럼 *경로 작동 함수*가 아닙니다.
    
    ///
    
    Pydantic 모델 어트리뷰트를 선언한 것과 동일한 타입을 수신하므로 Pydantic 모델이 될 수 있지만, `List[Item]`과 같이 Pydantic 모델들의 `list`일 수도 있습니다.
    
    FastAPI는 이 `response_model`를 사용하여:
    
    * 출력 데이터를 타입 선언으로 변환.
    * 데이터 검증.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 7.9K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/custom-response.md

    {* ../../docs_src/custom_response/tutorial006c_py39.py hl[2,7,9] *}
    
    ### `StreamingResponse` { #streamingresponse }
    
    Takes an async generator or a normal generator/iterator and streams the response body.
    
    {* ../../docs_src/custom_response/tutorial007_py39.py hl[2,14] *}
    
    #### Using `StreamingResponse` with file-like objects { #using-streamingresponse-with-file-like-objects }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  6. docs/de/docs/alternatives.md

    Es kann nicht sehr gut mit verschachtelten Modellen umgehen. Wenn es sich beim JSON-Body im Request also um ein JSON-Objekt mit inneren Feldern handelt, die wiederum verschachtelte JSON-Objekte sind, kann er nicht richtig dokumentiert und validiert werden.
    
    /// check | Inspirierte **FastAPI**
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 27.4K bytes
    - Click Count (0)
  7. docs/es/docs/advanced/generate-clients.md

    <img src="/img/tutorial/generate-clients/image08.png">
    
    ## Beneficios { #benefits }
    
    Cuando uses los clientes generados automáticamente obtendrás **autocompletado** para:
    
    * Métodos.
    * Payloads de request en el body, parámetros de query, etc.
    * Payloads de response.
    
    También tendrás **errores en línea** para todo.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  8. cmd/s3-zip-handlers.go

    		return
    	}
    	// s3zip does not allow ranges
    	w.Header().Del(xhttp.AcceptRanges)
    
    	setHeadGetRespHeaders(w, r.Form)
    
    	httpWriter := xioutil.WriteOnClose(w)
    
    	// Write object content to response body
    	if _, err = xioutil.Copy(httpWriter, rc); err != nil {
    		if !httpWriter.HasWritten() {
    			// write error response only if no data or headers has been written to client yet
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/security/simple-oauth2.md

    {* ../../docs_src/security/tutorial003_an_py310.py hl[4,78] *}
    
    `OAuth2PasswordRequestForm` is a class dependency that declares a form body with:
    
    * The `username`.
    * The `password`.
    * An optional `scope` field as a big string, composed of strings separated by spaces.
    * An optional `grant_type`.
    
    /// tip
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  10. docs/ru/docs/_llm-test.md

    * операция пути
    * декоратор операции пути
    * функция-обработчик пути
    
    * тело
    * тело запроса
    * тело ответа
    * JSON-тело
    * тело формы
    * тело файла
    * тело функции
    
    * параметр
    * body-параметр
    * path-параметр
    * query-параметр
    * cookie-параметр
    * параметр заголовка
    * параметр формы
    * параметр функции
    
    * событие
    * событие запуска
    * запуск сервера
    * событие остановки
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Dec 11 21:25:03 GMT 2025
    - 17.5K bytes
    - Click Count (0)
Back to Top