- Sort Score
- Num 10 results
- Language All
Results 331 - 340 of 867 for VALID (0.02 seconds)
-
docs/en/docs/advanced/strict-content-type.md
# Strict Content-Type Checking { #strict-content-type-checking } By default, **FastAPI** uses strict `Content-Type` header checking for JSON request bodies, this means that JSON requests **must** include a valid `Content-Type` header (e.g. `application/json`) in order for the body to be parsed as JSON. ## CSRF Risk { #csrf-risk } This default behavior provides protection against a class of **Cross-Site Request Forgery (CSRF)** attacks in a very specific scenario.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Feb 23 17:45:20 GMT 2026 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
@Mock private SMBSigningDigest digest; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Test decode method with valid buffer") void testDecodeWithValidBuffer() throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[256]; int bufferIndex = 0; int expectedLength = 100;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java
bb.put((byte) 0x00); // Reserved bb.put((byte) 0x00); // Reserved bb.putInt(securityInformation); return bb.array(); } /** * Provide a range of values that are valid for the constructor. */ static Stream<org.junit.jupiter.params.provider.Arguments> validInputs() { return Stream.of(org.junit.jupiter.params.provider.Arguments.of(0x0001, 0x00000000),
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.6K bytes - Click Count (0) -
internal/config/lambda/event/targetlist.go
return fmt.Errorf("target %v already exists", target.ID()) } list.targets[target.ID()] = target } return nil } // Lookup - checks whether target by target ID exists is valid or not. func (list *TargetList) Lookup(arnStr string) (Target, error) { list.RLock() defer list.RUnlock() arn, err := ParseARN(arnStr) if err != nil { return nil, err }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.3K bytes - Click Count (0) -
cmd/server-rlimit.go
) func oldLinux() bool { currentKernel, err := kernel.CurrentVersion() if err != nil { // Could not probe the kernel version return false } if currentKernel == 0 { // We could not get any valid value return false return false } // legacy linux indicator for printing warnings // about older Linux kernels and Go runtime. return currentKernel < kernel.Version(4, 0, 0) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jul 02 15:09:36 GMT 2024 - 2.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/SmbNegotiationResponse.java
* * @author mbechler */ public interface SmbNegotiationResponse extends CommonServerMessageBlock, Response { /** * Check if the negotiation response is valid * * @param cifsContext the CIFS context * @param request the negotiation request * @return whether the protocol negotiation was successful */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/ConcurrentLifecycleStarter.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 8.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java
// Act & Assert - constructor should not throw assertDoesNotThrow(() -> new MsrpcSamrConnect2(systemName, accessMask, ph)); } @Test @DisplayName("should create instance with valid parameters") void testConstructorCreatesInstance() { // Arrange String systemName = "\\\\server"; int accessMask = 0x000F0000;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/DosFileFilterTest.java
* so we only verify its acceptance here. */ @Test void testConstructor() { // The constructor should not throw any exceptions with valid inputs. new DosFileFilter("*.*", SmbFile.ATTR_ARCHIVE); new DosFileFilter("?", SmbFile.ATTR_DIRECTORY); new DosFileFilter("file.txt", SmbFile.ATTR_READONLY | SmbFile.ATTR_HIDDEN); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java
assertNull(exception.getMessage()); assertNull(exception.getCause()); } @Test public void test_constructorWithNullMessageAndValidCause() { // Test constructor with null message and valid cause Throwable cause = new IllegalArgumentException("Invalid argument"); GsaConfigException exception = new GsaConfigException(null, cause); assertNotNull(exception);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.5K bytes - Click Count (0)