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

HTTP server sometimes sends bad request for browser's javascript requests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 6
    • 6
    • core-libs
    • None
    • b89
    • generic
    • generic

      Sometimes http server sends 400(bad request) as http status for some requests. Attaching the program to reproduce this. Also attaching the http traffic showing this problem.

      To reproduce
      -------------
      run the run.sh in the tar by setting the correct paths for java, and javac. I used mustang b83.

      Access the URL(run.sh prints an url) from browser. Enter something in the blank text area, and press "New" button. Browser's javascript sends an POST followed by a GET request. POST works fine but http server sends a bad request as response for GET request. The same application works fine in the servlet container.

            michaelm Michael McMahon
            jkotamra Jitendra Kotamraju (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: