Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,440 for Fake (0.02 sec)

  1. compat/maven-compat/src/test/resources/inheritance-repo/t09/maven-test/poms/t09-a-1.0.pom

      <groupId>maven-test</groupId>
      <artifactId>t09-a</artifactId>
      <packaging>jar</packaging>
      <version>1.0</version>
      <repositories>
        <repository>
          <id>central</id>
          <name>Fake Maven Central Repository</name>
          <url>file://dummy</url>
        </repository>
      </repositories>
    
      <dependencies>
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>t09-b</artifactId>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 551 bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/resources/inheritance-repo/t10/maven-test/poms/t10-a-1.0.pom

      <groupId>maven-test</groupId>
      <artifactId>t10-a</artifactId>
      <packaging>jar</packaging>
      <version>1.0</version>
      <repositories>
        <repository>
          <id>central</id>
          <name>Fake Maven Central Repository</name>
          <url>file://dummy</url>
        </repository>
      </repositories>
    
      <dependencies>
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>t10-b</artifactId>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 551 bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/resources/local-repo/maven-test/poms/maven-test-a-1.0.pom

      <groupId>maven-test</groupId>
      <artifactId>maven-test-a</artifactId>
      <packaging>jar</packaging>
      <version>1.0</version>
      <repositories>
        <repository>
          <id>central</id>
          <name>Fake Maven Central Repository</name>
          <url>file://dummy</url>
        </repository>
      </repositories>
      <dependencies>
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>maven-test-b</artifactId>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 586 bytes
    - Viewed (0)
  4. internal/grid/grid_test.go

    	errFatal := func(err error) {
    		t.Helper()
    		if err != nil {
    			t.Fatal(err)
    		}
    	}
    
    	// We fake a local and remote server.
    	remoteHost := remote.HostName()
    
    	// 1: Echo
    	serverSent := make(chan struct{})
    	serverCanceled := make(chan struct{})
    	register := func(manager *Manager) {
    		errFatal(manager.RegisterStreamingHandler(handlerTest, StreamHandler{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/resources/local-repo/snapshot-test/poms/maven-test-snapshot-resolving-1.0.pom

    <project>
      <groupId>snapshot-test</groupId>
      <artifactId>maven-test-snapshot-resolving</artifactId>
      <packaging>jar</packaging>
      <repositories>
        <repository>
          <id>central</id>
          <name>Fake Maven Central Repository</name>
          <url>file://dummy</url>
        </repository>
      </repositories>
      <dependencies>
        <dependency>
          <groupId>snapshot-test</groupId>
          <artifactId>maven-snapshot-a</artifactId>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. docs_src/response_cookies/tutorial002.py

    from fastapi import FastAPI, Response
    
    app = FastAPI()
    
    
    @app.post("/cookie-and-object/")
    def create_cookie(response: Response):
        response.set_cookie(key="fakesession", value="fake-cookie-session-value")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 272 bytes
    - Viewed (0)
  7. docs_src/bigger_applications/app/dependencies.py

    from fastapi import Header, HTTPException
    
    
    async def get_token_header(x_token: str = Header()):
        if x_token != "fake-super-secret-token":
            raise HTTPException(status_code=400, detail="X-Token header invalid")
    
    
    async def get_query_token(token: str):
        if token != "jessica":
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 369 bytes
    - Viewed (0)
  8. docs_src/bigger_applications/app_an/dependencies.py

    from fastapi import Header, HTTPException
    from typing_extensions import Annotated
    
    
    async def get_token_header(x_token: Annotated[str, Header()]):
        if x_token != "fake-super-secret-token":
            raise HTTPException(status_code=400, detail="X-Token header invalid")
    
    
    async def get_query_token(token: str):
        if token != "jessica":
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 419 bytes
    - Viewed (0)
  9. docs_src/bigger_applications/app_an_py39/dependencies.py

    from typing import Annotated
    
    from fastapi import Header, HTTPException
    
    
    async def get_token_header(x_token: Annotated[str, Header()]):
        if x_token != "fake-super-secret-token":
            raise HTTPException(status_code=400, detail="X-Token header invalid")
    
    
    async def get_query_token(token: str):
        if token != "jessica":
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 409 bytes
    - Viewed (0)
  10. tests/test_tutorial/test_custom_response/test_tutorial009.py

    client = TestClient(app)
    
    
    def test_get(tmp_path: Path):
        file_path: Path = tmp_path / "large-video-file.mp4"
        tutorial009.some_file_path = str(file_path)
        test_content = b"Fake video bytes"
        file_path.write_bytes(test_content)
        response = client.get("/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jul 03 19:51:28 UTC 2021
    - 487 bytes
    - Viewed (0)
Back to top