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

Allow resources disable the flushing of the response after setting the headers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.3
    • 1.5.4, 6.0.0-beta1
    • wicket
    • None

    Description

      Currently org.apache.wicket.request.resource.AbstractResource#setResponseHeaders() flushes the response after setting the headers.
      Matej added this with revision da1077e12e690fda9a7f47a745308a156df738bd because:
      This is necessary for Firefox if this resource is an image, otherwise it messes up other images on page.

      In some cases this flush causes troubles because it doesn't allow to reset the response in #onWriteCallback().
      It will be better if the flushing is configurable.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: