Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for 406 (0.01 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            byte[] buffer = new byte[512];
            int written = trans2SetFileInfo.writeDataWireFormat(buffer, 0);
    
            // Should write FileInformation data + 6 bytes padding
            assertEquals(46, written); // 40 + 6
    
            // Verify encode was called
            verify(mockFileInfo).encode(buffer, 0);
    
            // Check that 6 bytes of padding are zeros
            for (int i = 40; i < 46; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  2. CHANGELOG/CHANGELOG-1.2.md

    headers are now properly handled as per the HTTP spec.  As a consequence, if
    you had a client that was sending an invalid Content-Type or Accept header to
    the API, in 1.2 you will either receive a 415 or 406 error.
    The only client
    this is known to affect is curl when you use -d with JSON but don't set a
    content type, helpfully sends "application/x-www-urlencoded", which is not
    correct.
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Fri Dec 04 06:36:19 UTC 2020
    - 41.4K bytes
    - Viewed (0)
Back to top