Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 179 for Unparsed (0.06 seconds)

  1. docs/en/docs/advanced/strict-content-type.md

    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)
  2. src/test/java/org/codelibs/fess/crawler/rule/CrawlerRuleMimeTypePatternTest.java

                + "|application/rdf\\+xml" //
                + "|application/pdf" //
                + "|application/x-freemind" //
                + "|text/xml" //
                + "|text/xml-external-parsed-entity)";
    
        // Pattern from fsFileRule in rule.xml
        private static final String FS_FILE_RULE_PATTERN = "(application/xml" //
                + "|application/xhtml\\+xml" //
                + "|application/rdf\\+xml" //
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolver.java

         * The supplied request may also refer to a single concrete version rather than a version range.
         * In this case though, the result contains simply the (parsed) input version, regardless of the
         * repositories and their contents.
         *
         * @param session the session to use
         * @param artifactCoordinates t
         * @return the version range resolution result
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 12 06:19:14 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            // Verify parsed data
            Field addressArrayField = NodeStatusResponse.class.getDeclaredField("addressArray");
            addressArrayField.setAccessible(true);
            NbtAddress[] addresses = (NbtAddress[]) addressArrayField.get(response);
            assertNotNull(addresses);
            assertEquals(3, addresses.length);
    
            // Verify MAC address was parsed
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/exception/ParseRuntimeException.java

            super("ECL0050", asArray(cause), cause);
        }
    
        /**
         * Creates a {@link ParseRuntimeException}.
         *
         * @param s the string that could not be parsed
         */
        public ParseRuntimeException(final String s) {
            super("ECL0051", asArray(s));
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BwcVersions.java

                throw new IllegalStateException("Expected exactly 2 majors in parsed versions but found: " + majors);
            }
        }
    
        private void assertCurrentVersionMatchesParsed(Version currentVersionProperty) {
            if (currentVersionProperty.equals(currentVersion) == false) {
                throw new IllegalStateException(
                    "Parsed versions latest version does not match the one configured in build properties. "
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 16.8K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/DateFormatting.kt

      )
    
    private val BROWSER_COMPATIBLE_DATE_FORMATS =
      arrayOfNulls<DateFormat>(BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS.size)
    
    /** Returns the date for this string, or null if the value couldn't be parsed. */
    fun String.toHttpDateOrNull(): Date? {
      if (isEmpty()) return null
    
      val position = ParsePosition(0)
      var result = STANDARD_DATE_FORMAT.get().parse(this, position)
      if (position.index == length) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  8. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlService.java

         *
         * @param input the input stream to read from
         * @param locationBuilder optional builder for creating input location objects
         * @return the parsed XML node
         * @throws XMLStreamException if there is an error parsing the XML
         */
        protected abstract XmlNode doRead(InputStream input, InputLocationBuilder locationBuilder)
                throws XMLStreamException;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

          SimpleDateFormat("yyMMddHHmmss'Z'").apply {
            timeZone = utc
            set2DigitYearStart(Date(-631152000000L)) // 1950-01-01T00:00:00Z.
          }
    
        try {
          val parsed = dateFormat.parse(string)
          return parsed.time
        } catch (e: ParseException) {
          throw ProtocolException("Failed to parse UTCTime $string")
        }
      }
    
      internal fun formatUtcTime(date: Long): String {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15K bytes
    - Click Count (0)
  10. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            // When
            Type3Message parsed = new Type3Message(messageBytes);
    
            // Then
            // Note: getType() method does not exist, so we cannot compare message types
            assertEquals(original.getDomain(), parsed.getDomain());
            assertEquals(original.getUser(), parsed.getUser());
            assertEquals(original.getWorkstation(), parsed.getWorkstation());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.3K bytes
    - Click Count (0)
Back to Top