Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 891 - 900 of 1,349 for request (0.04 seconds)

  1. docs/iam/access-manager-plugin.go

    	json.NewEncoder(w).Encode(map[string]string{
    		"error": fmt.Sprintf("%v", err),
    	})
    }
    
    type Result struct {
    	Result bool `json:"result"`
    }
    
    func mainHandler(w http.ResponseWriter, r *http.Request) {
    	body, err := io.ReadAll(r.Body)
    	if err != nil {
    		writeErrorResponse(w, err)
    		return
    	}
    
    	var out bytes.Buffer
    	json.Indent(&out, body, "", "  ")
    	fmt.Printf("Received JSON payload:\n%s\n", out.String())
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Feb 08 17:15:20 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_bigger_applications/test_main.py

    
    @pytest.fixture(
        name="client",
        params=[
            "app_py39.main",
            "app_an_py39.main",
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.bigger_applications.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    def test_users_token_jessica(client: TestClient):
        response = client.get("/users?token=jessica")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  3. cmd/listen-notification-handlers.go

    	"github.com/minio/minio/internal/pubsub"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/policy"
    )
    
    func (api objectAPIHandlers) ListenNotificationHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "ListenNotification")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	// Validate if bucket exists.
    	objAPI := api.ObjectAPI()
    	if objAPI == nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 6K bytes
    - Click Count (0)
  4. docs/ru/docs/tutorial/schema-extra-example.md

    # Объявление примеров данных запроса { #declare-request-example-data }
    
    Вы можете объявлять примеры данных, которые ваше приложение может получать.
    
    Вот несколько способов, как это сделать.
    
    ## Дополнительные данные JSON Schema в моделях Pydantic { #extra-json-schema-data-in-pydantic-models }
    
    Вы можете объявить `examples` для модели Pydantic, которые будут добавлены в сгенерированную JSON Schema.
    
    //// tab | Pydantic v2
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java

    import static java.util.Objects.requireNonNull;
    
    /**
     * Collects settings that control the building of effective settings.
     */
    @Experimental
    @Immutable
    public interface SettingsBuilderRequest extends Request<ProtoSession> {
    
        /**
         * Gets the installation settings source.
         *
         * @return the installation settings source or {@code null} if none
         */
        @Nonnull
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  6. cmd/object-api-errors.go

    	OffsetEnd    int64
    	ResourceSize int64
    }
    
    func (e InvalidRange) Error() string {
    	return fmt.Sprintf("The requested range 'bytes=%d-%d' is not satisfiable", e.OffsetBegin, e.OffsetEnd)
    }
    
    // ObjectTooLarge error returned when the size of the object > max object size allowed (5G) per request.
    type ObjectTooLarge GenericError
    
    func (e ObjectTooLarge) Error() string {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 09 02:05:14 GMT 2024
    - 22.1K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolver.java

    /**
     */
    // Just hide the one method we want behind the RepositorySystem interface.
    @Deprecated
    public interface ArtifactResolver {
    
        ArtifactResolutionResult resolve(ArtifactResolutionRequest request);
    
        // The rest is deprecated
        // USED BY MAVEN ASSEMBLY PLUGIN 2.2-beta-2
        @Deprecated
        String ROLE = ArtifactResolver.class.getName();
    
        // USED BY SUREFIRE, DEPENDENCY PLUGIN
        @Deprecated
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.1K bytes
    - Click Count (0)
  8. docs/es/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    Puedes usar las mismas *funciones* de dependencia que usas normalmente.
    
    ### Requisitos de dependencia { #dependency-requirements }
    
    Pueden declarar requisitos de request (como headers) u otras sub-dependencias:
    
    {* ../../docs_src/dependencies/tutorial006_an_py39.py hl[8,13] *}
    
    ### Lanzar excepciones { #raise-exceptions }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  9. docs/es/docs/advanced/generate-clients.md

    Nota que las *path operations* definen los modelos que usan para el payload del request y el payload del response, usando los modelos `Item` y `ResponseMessage`.
    
    ### Documentación de la API { #api-docs }
    
    Si vas a `/docs`, verás que tiene los **esquemas** para los datos a enviar en requests y recibir en responses:
    
    <img src="/img/tutorial/generate-clients/image01.png">
    
    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)
  10. tests/test_dependency_contextmanager.py

            )
    
        tasks.add_task(bg, state)
        return state
    
    
    @app.middleware("http")
    async def middleware(request, call_next):
        response: StreamingResponse = await call_next(request)
        response.headers["x-state"] = json.dumps(state.copy())
        return response
    
    
    client = TestClient(app)
    
    
    def test_async_state():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 11.5K bytes
    - Click Count (0)
Back to Top