Contact: fumanchu@aminus.org

Log in as guest/misc to create tickets

Ticket #2 (defect)

Opened 6 years ago

Last modified 6 years ago

gateway doesn't forward HTTP status code to ASP

Status: closed (fixed)

Reported by: jaraco@jaraco.com Assigned to: fumanchu
Priority: minor Keywords:
Cc:

When requesting a page through the gateway that requires a redirect, ASP returns 200 OK instead of 302 Temporarily Moved.

Adding the following code to the end of the asp_handler class resolves the problem:

    def start_response( self, *args, **kargs ):
        BaseCGIHandler.start_response( self, *args, **kargs )
        self.Response.Status = self.status

Change History

04/17/06 13:15:17: Modified by fumanchu

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in [72]. Thanks!