Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8218662

Allow 204 responses with Content-Length:0

    XMLWordPrintable

Details

    • b17
    • 12
    • b32
    • Verified

    Backports

      Description

        Seems like a regression of JDK-8211437.

        cURL works fine with the same URI.

        $ curl http://clients1.google.com/generate_204 -v
        * Trying 74.125.193.101...
        * TCP_NODELAY set
        * Connected to clients1.google.com (74.125.193.101) port 80 (#0)
        > GET /generate_204 HTTP/1.1
        > Host: clients1.google.com
        > User-Agent: curl/7.54.0
        > Accept: */*
        >
        < HTTP/1.1 204 No Content
        < Content-Length: 0
        < Date: Fri, 08 Feb 2019 10:00:15 GMT
        <
        * Connection #0 to host clients1.google.com left intact

        Attachments

          Issue Links

            Activity

              People

                chegar Chris Hegarty
                arajkumar Arunprasad Rajkumar
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: