Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-51585

JWT response should have status code 204 since it does not provide content

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • blueocean-plugin
    • None
    • Blue Ocean - 1.6 - beta 4

      Firefox has problems with responses that are status code 200 and do not provide any content. https://stackoverflow.com/questions/45195047/angular-2-http-properly-ignore-empty-results/46956926#46956926

      This lead to parsing exceptions like

      XML Parsing Error: no root element found
      Location: http://myserver.com/jenkins/jwt-auth/token
      Line Number 1, Column 1:

            tscherler Thorsten Scherler
            tscherler Thorsten Scherler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: