Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 421 for parsing (0.22 sec)

  1. okhttp/src/test/java/okhttp3/WebPlatformUrlTest.kt

        private val KNOWN_FAILURES =
          listOf(
            "Parsing: <http://example\t.\norg> against <http://example.org/foo/bar>",
            "Parsing: <http://f:0/c> against <http://example.org/foo/bar>",
            "Parsing: <http://f:00000000000000/c> against <http://example.org/foo/bar>",
            "Parsing: <http://f:\n/c> against <http://example.org/foo/bar>",
            "Parsing: <http://f:999999/c> against <http://example.org/foo/bar>",
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/path-params.md

    ## Data validation
    
    But if you go to the browser at <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a>, you will see a nice HTTP error of:
    
    ```JSON
    {
      "detail": [
        {
          "type": "int_parsing",
          "loc": [
            "path",
            "item_id"
          ],
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  3. docs/sts/client_grants/sts_element.py

    _STS_NS = {'sts': 'https://sts.amazonaws.com/doc/2011-06-15/'}
    
    
    class STSElement(object):
        """STS aware XML parsing class. Wraps a root element name and
        cElementTree.Element instance. Provides STS namespace aware parsing
        functions.
    
        """
    
        def __init__(self, root_name, element):
            self.root_name = root_name
            self.element = element
    
        @classmethod
    Python
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy

        @PathSensitive(PathSensitivity.NAME_ONLY)
        FileTree getSource() {
            return super.getSource();
        }
    
        @TaskAction
        def extract() {
            Date start = new Date()
    
            //parsing all input files into metadata
            //and placing them in the repository object
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  5. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java

        /**
         * Parse the model obtained previously by a previous call to {@link #locate(Path)}.
         *
         * @param source the source to parse, never {@code null}
         * @param options possible parsing options, may be {@code null}
         * @return the parsed {@link Model}, never {@code null}
         * @throws ModelParserException if the model cannot be parsed
         */
        @Nonnull
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  6. tests/test_multi_query_errors.py

            {
                "detail": [
                    {
                        "type": "int_parsing",
                        "loc": ["query", "q", 0],
                        "msg": "Input should be a valid integer, unable to parse string as an integer",
                        "input": "five",
                    },
                    {
                        "type": "int_parsing",
                        "loc": ["query", "q", 1],
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_query_params/test_tutorial006_py310.py

                    },
                    {
                        "type": "int_parsing",
                        "loc": ["query", "skip"],
                        "msg": "Input should be a valid integer, unable to parse string as an integer",
                        "input": "a",
                    },
                    {
                        "type": "int_parsing",
                        "loc": ["query", "limit"],
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  8. cmd/streaming-signature-v4_test.go

    		}
    		if !bytes.Equal(chunkSignature, tt.chunkSignature) {
    			t.Errorf("Test %d: Expected %s, got %s", i+1, string(tt.chunkSignature), string(chunkSignature))
    		}
    	}
    }
    
    // Test parsing s3 chunk extension.
    func TestParseS3ChunkExtension(t *testing.T) {
    	type testCase struct {
    		buf       []byte
    		chunkSize []byte
    		chunkSign []byte
    	}
    
    	tests := []testCase{
    		// Test - 1 valid case.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 5.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http/RealResponseBody.kt

    import okhttp3.MediaType
    import okhttp3.MediaType.Companion.toMediaTypeOrNull
    import okhttp3.ResponseBody
    import okio.BufferedSource
    
    class RealResponseBody(
      /**
       * Use a string to avoid parsing the content type until needed. This also defers problems caused
       * by malformed content types.
       */
      private val contentTypeString: String?,
      private val contentLength: Long,
      private val source: BufferedSource,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  10. tests/test_multi_body_errors.py

                        "loc": ["body", 0, "name"],
                        "msg": "Field required",
                        "input": {"age": "five"},
                    },
                    {
                        "type": "decimal_parsing",
                        "loc": ["body", 0, "age"],
                        "msg": "Input should be a valid decimal",
                        "input": "five",
                    },
                    {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 7.6K bytes
    - Viewed (0)
Back to top