Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6239

Use Response#addHeader() instead of #setContentLength()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 8.0.0-M1, 7.4.0, 6.24.0
    • 8.0.0-M2, 6.25.0, 7.5.0
    • wicket-atmosphere
    • None

    Description

      From https://github.com/apache/wicket/pull/179/files (related to WICKET-2917)

      If the response is bigger than 2G then using #setContentLength() will produce a negative value.

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: