Search Options

Results per page
Sort
Preferred Languages
Advance

Results 901 - 910 of 1,353 for header2 (0.03 sec)

  1. tests/test_tutorial/test_dataclasses/test_tutorial001.py

        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.dataclasses_.{request.param}")
    
        client = TestClient(mod.app)
        client.headers.clear()
        return client
    
    
    def test_post_item(client: TestClient):
        response = client.post("/items/", json={"name": "Foo", "price": 3})
        assert response.status_code == 200
        assert response.json() == {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. docs/es/docs/advanced/using-request-directly.md

    # Usar el Request Directamente { #using-the-request-directly }
    
    Hasta ahora, has estado declarando las partes del request que necesitas con sus tipos.
    
    Tomando datos de:
    
    * El path como parámetros.
    * Headers.
    * Cookies.
    * etc.
    
    Y al hacerlo, **FastAPI** está validando esos datos, convirtiéndolos y generando documentación para tu API automáticamente.
    
    Pero hay situaciones donde podrías necesitar acceder al objeto `Request` directamente.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

            byte[] buffer = new byte[1024];
            int bufferIndex = 0;
    
            // Prepare SMB2 header (64 bytes)
            // Protocol ID
            System.arraycopy(new byte[] { (byte) 0xFE, 'S', 'M', 'B' }, 0, buffer, bufferIndex, 4);
            // Header length
            SMBUtil.writeInt2(64, buffer, bufferIndex + 4);
            // Credit charge
            SMBUtil.writeInt2(1, buffer, bufferIndex + 6);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. cmd/mrf_gen.go

    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *PartialOperation) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 8
    	// write "Bucket"
    	err = en.Append(0x88, 0xa6, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74)
    	if err != nil {
    		return
    	}
    	err = en.WriteString(z.Bucket)
    	if err != nil {
    		err = msgp.WrapError(err, "Bucket")
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. internal/s3select/json/preader.go

    				//nolint:staticcheck // SA6002 Using pointer would allocate more since we would have to copy slice header before taking a pointer.
    				r.bufferPool.Put(in.input)
    				in.input = nil
    				in.err = d.Err()
    				in.dst <- all
    			}
    		}()
    	}
    }
    
    // NewPReader - creates new parallel JSON reader using readCloser.
    // Should only be used for LINES types.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         * Some fields specify the offset from the beginning of the header. This
         * field should be used for calculating that. This would likely be zero
         * but an implemantation that encorporates the transport header(for
         * efficiency) might use a different initial bufferIndex. For example,
         * to eliminate copying data when writing NbtSession data one might
         * manage that 4 byte header specifically and therefore the initial
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

            // Standard lease V2 size: LeaseKey(16) + LeaseState(4) + Flags(4) + reserved fields
            return 32;
        }
    
        @Override
        public int size() {
            // Context header: 16 bytes
            // Name: 4 bytes ("DLse")
            // Padding: 4 bytes (to align data to 8-byte boundary)
            // Standard lease data: 32 bytes
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. src/main/resources/fess.xml

    		<postConstruct name="addDesignJspFileName">
    			<arg>"index"</arg>
    			<arg>"index.jsp"</arg>
    		</postConstruct>
    		<postConstruct name="addDesignJspFileName">
    			<arg>"header"</arg>
    			<arg>"header.jsp"</arg>
    		</postConstruct>
    		<postConstruct name="addDesignJspFileName">
    			<arg>"footer"</arg>
    			<arg>"footer.jsp"</arg>
    		</postConstruct>
    		<postConstruct name="addDesignJspFileName">
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Jul 28 09:03:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. internal/config/policy/plugin/help.go

    			Type:        "url",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         AuthToken,
    			Description: "authorization header for plugin hook endpoint" + defaultHelpPostfix(AuthToken),
    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    			Secret:      true,
    		},
    		config.HelpKV{
    			Key:         EnableHTTP2,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Jun 23 14:45:27 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. docs_src/security/tutorial007_an_py39.py

        )
        if not (is_correct_username and is_correct_password):
            raise HTTPException(
                status_code=status.HTTP_401_UNAUTHORIZED,
                detail="Incorrect username or password",
                headers={"WWW-Authenticate": "Basic"},
            )
        return credentials.username
    
    
    @app.get("/users/me")
    def read_current_user(username: Annotated[str, Depends(get_current_username)]):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top