Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 471 - 480 of 481 for testClient (0.06 seconds)

  1. docs/ru/docs/index.md

    Используется Starlette:
    
    * <a href="https://www.python-httpx.org" target="_blank"><code>httpx</code></a> — обязателен, если вы хотите использовать `TestClient`.
    * <a href="https://jinja.palletsprojects.com" target="_blank"><code>jinja2</code></a> — обязателен, если вы хотите использовать конфигурацию шаблонов по умолчанию.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Dec 11 21:25:03 GMT 2025
    - 32K bytes
    - Click Count (0)
  2. docs/de/docs/alternatives.md

    Es bietet:
    
    * Eine sehr beeindruckende Leistung.
    * WebSocket-Unterstützung.
    * Hintergrundtasks im selben Prozess.
    * Startup- und Shutdown-Events.
    * Testclient basierend auf HTTPX.
    * CORS, GZip, statische Dateien, Responses streamen.
    * Session- und Cookie-Unterstützung.
    * 100 % Testabdeckung.
    * 100 % Typannotierte Codebasis.
    * Wenige starke Abhängigkeiten.
    
    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)
  3. docs/ko/docs/index.md

    Starlette이 사용하는:
    
    * <a href="https://www.python-httpx.org" target="_blank"><code>HTTPX</code></a> - `TestClient`를 사용하려면 필요.
    * <a href="http://jinja.pocoo.org" target="_blank"><code>jinja2</code></a> - 기본 템플릿 설정을 사용하려면 필요.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  4. docs/zh/docs/index.md

    用于 Starlette:
    
    * <a href="https://www.python-httpx.org" target="_blank"><code>httpx</code></a> - 使用 `TestClient` 时安装。
    * <a href="https://jinja.palletsprojects.com" target="_blank"><code>jinja2</code></a> - 使用默认模板配置时安装。
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  5. docs/ja/docs/index.md

    Starlette によって使用されるもの:
    
    - <a href="https://www.python-httpx.org" target="_blank"><code>httpx</code></a> - `TestClient`を使用するために必要です。
    - <a href="https://jinja.palletsprojects.com" target="_blank"><code>jinja2</code></a> - デフォルトのテンプレート設定を使用する場合は必要です。
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  6. docs/en/docs/release-notes.md

    * [Upgraded Starlette](https://github.com/encode/starlette/releases/tag/0.21.0)
        * Now the `TestClient` is based on HTTPX instead of Requests. 🚀
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:06:15 GMT 2025
    - 586.7K bytes
    - Click Count (0)
  7. cmd/storage-rest_test.go

    	restClient := newStorageRESTHTTPServerClient(t)
    
    	testStorageAPIListDir(t, restClient)
    }
    
    func TestStorageRESTClientReadAll(t *testing.T) {
    	restClient := newStorageRESTHTTPServerClient(t)
    
    	testStorageAPIReadAll(t, restClient)
    }
    
    func TestStorageRESTClientReadFile(t *testing.T) {
    	restClient := newStorageRESTHTTPServerClient(t)
    
    	testStorageAPIReadFile(t, restClient)
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  8. internal/dsync/dsync-client_test.go

    	return restClient.Call("/v1/runlock", args)
    }
    
    func (restClient *ReconnectRESTClient) Unlock(ctx context.Context, args LockArgs) (status bool, err error) {
    	return restClient.Call("/v1/unlock", args)
    }
    
    func (restClient *ReconnectRESTClient) Refresh(ctx context.Context, args LockArgs) (refreshed bool, err error) {
    	return restClient.Call("/v1/refresh", args)
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Jan 20 17:36:09 GMT 2022
    - 4.4K bytes
    - Click Count (0)
  9. cmd/peer-rest-client.go

    		defer cancel()
    		respBody, err := healthClient.Call(ctx, peerRESTMethodHealth, nil, nil, -1)
    		xhttp.DrainBody(respBody)
    		return !isNetworkError(err)
    	}
    	var gridConn atomic.Pointer[grid.Connection]
    
    	return &peerRESTClient{
    		host: peer, restClient: restClient, gridHost: gridHost,
    		gridConn: func() *grid.Connection {
    			// Lazy initialization of grid connection.
    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)
  10. cmd/storage-rest-client.go

    		values = make(url.Values)
    	}
    	values.Set(storageRESTDiskID, *client.diskID.Load())
    	respBody, err := client.restClient.CallWithHTTPMethod(ctx, http.MethodGet, rpcMethod, values, body, length)
    	if err != nil {
    		return nil, toStorageErr(err)
    	}
    	return respBody, nil
    }
    
    // Wrapper to restClient.Call to handle network errors, in case of network error the connection is disconnected
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 08 02:38:41 GMT 2025
    - 30.4K bytes
    - Click Count (0)
Back to Top