Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for statusv3 (0.25 sec)

  1. docs/en/docs/tutorial/response-status-code.md

    /// note | "Technical Details"
    
    You could also use `from starlette import status`.
    
    **FastAPI** provides the same `starlette.status` as `fastapi.status` just as a convenience for you, the developer. But it comes directly from Starlette.
    
    ///
    
    ## Changing the default
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 11:13:18 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/additional-status-codes.md

    # Additional Status Codes
    
    By default, **FastAPI** will return the responses using a `JSONResponse`, putting the content you return from your *path operation* inside of that `JSONResponse`.
    
    It will use the default status code or the one you set in your *path operation*.
    
    ## Additional status codes
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:12:23 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/response-status-code.md

    **FastAPI** bietet dieselben `starlette.status`-Codes auch via `fastapi.status` an, als Annehmlichkeit für Sie, den Entwickler. Sie kommen aber direkt von Starlette.
    
    ///
    
    ## Den Defaultwert ändern
    
    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. compat/maven-model-builder/src/test/resources/poms/validation/distribution-management-status.xml

    under the License.
    -->
    
    <project>
      <modelVersion>4.0.0</modelVersion>
      <groupId>foo</groupId>
      <artifactId>bar</artifactId>
      <version>0.1</version>
    
      <distributionManagement>
        <status>generated</status>
      </distributionManagement>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 993 bytes
    - Viewed (0)
  5. istioctl/pkg/writer/compare/sds/writer.go

    	}
    	tw := new(tabwriter.Writer).Init(w.w, 0, 5, 5, ' ', 0)
    	fmt.Fprintln(tw, strings.Join(secretDiffColumns, "\t"))
    	for _, status := range statuses {
    		fmt.Fprintf(tw, "%s\t%s\t%t\t%s\t%s\t%s\t%s\t%s\n",
    			status.Name, status.Type, status.Valid, status.Source, status.Proxy, status.SerialNumber, status.NotAfter, status.NotBefore)
    	}
    	return tw.Flush()
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 28 19:52:53 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. docs/ko/docs/advanced/response-change-status-code.md

    # 응답 - 상태 코드 변경
    
    기본 [응답 상태 코드 설정](../tutorial/response-status-code.md){.internal-link target=_blank}이 가능하다는 걸 이미 알고 계실 겁니다.
    
    하지만 경우에 따라 기본 설정과 다른 상태 코드를 반환해야 할 때가 있습니다.
    
    ## 사용 예
    
    예를 들어 기본적으로 HTTP 상태 코드 "OK" `200`을 반환하고 싶다고 가정해 봅시다.
    
    하지만 데이터가 존재하지 않으면 이를 새로 생성하고, HTTP 상태 코드 "CREATED" `201`을 반환하고자 할 때가 있을 수 있습니다.
    
    이때도 여전히 `response_model`을 사용하여 반환하는 데이터를 필터링하고 변환하고 싶을 수 있습니다.
    
    이런 경우에는 `Response` 파라미터를 사용할 수 있습니다.
    
    ## `Response` 파라미터 사용하기
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 22:01:39 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. .github/workflows/deploy-docs.yml

    name: Deploy Docs
    on:
      workflow_run:
        workflows:
          - Build Docs
        types:
          - completed
    
    permissions:
      deployments: write
      issues: write
      pull-requests: write
      statuses: write
    
    env:
      UV_SYSTEM_PYTHON: 1
    
    jobs:
      deploy-docs:
        runs-on: ubuntu-latest
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 09:37:59 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. cmd/api-response.go

    	writeResponse(w, http.StatusOK, response, mimeJSON)
    }
    
    // writeSuccessResponseXML writes success headers and response if any,
    // with content-type set to `application/xml`.
    func writeSuccessResponseXML(w http.ResponseWriter, response []byte) {
    	writeResponse(w, http.StatusOK, response, mimeXML)
    }
    
    // writeSuccessNoContent writes success headers with http status 204
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  9. cmd/global-heal.go

    				ss.HealPriority = "high"
    				status.HealDisks = append(status.HealDisks, disk.Endpoint)
    			}
    		}
    		sortDisks(ss.Disks)
    		status.Sets = append(status.Sets, ss)
    	}
    	sort.Slice(status.Sets, func(i, j int) bool {
    		return status.Sets[i].ID < status.Sets[j].ID
    	})
    
    	backendInfo := o.BackendInfo()
    	status.SCParity = make(map[string]int)
    	status.SCParity[storageclass.STANDARD] = backendInfo.StandardSCParity
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactStatus.java

            if (map == null) {
                map = new HashMap<>();
            }
            map.put(key, this);
        }
    
        public static ArtifactStatus valueOf(String status) {
            ArtifactStatus retVal = null;
    
            if (status != null) {
                retVal = map.get(status);
            }
    
            return retVal != null ? retVal : NONE;
        }
    
        public boolean equals(Object o) {
            if (this == o) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top