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

httpRequest disguises name resolution errors and connection errors as 404 and 408

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • http-request-plugin
    • None

      Name resolution errors and connection errors are disguised in 404 and 408 HTTP errors, which is counter intuitive and misleading.

      See this piece of code.

      It should maybe return a special HTTP status (-1 ?) instead or just re-throw the error.

            janario Janario Oliveira
            ericcitaire Eric Citaire
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: