Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-846

ContainerResponseContext.setStatus(301) in ContainerResponseFilter returns status 200 OK

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.2.Final
    • None
    • None
    • None
    • Linux mint 14, 64-bit, oracle java version "1.7.0_17", jboss 7.1.1 with RESTeasy 3.0-beta-3 modules in it

      Setting response statuses from ContainerResponseFilter does not work. Response in browser has always status 200 OK. The headers seem to be ok. The same code works properly when implemented in PostProcessInterceptor.

      Code used: http://pastebin.com/ALCqfpFd

              patriot1burke@gmail.com Bill Burke (Inactive)
              ari_g Arkadiusz Gabiga (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: