Closed 1xch closed 10 years ago
The answer has to do with engine.responsewriter, seen before where an explicit write needs to be made so that Size no longer is -1, the default for NotWritten.
Adding
r.rw.WriteHeaderNow()
to the redirect fixes for now.
A POST request will complete, but not redirect fully.
Will result in:
and a blank page at /posted/, but no redirect to /redirected/url/.
GET requests with handlers using a redirect context function will redirect.
POST/Redirect/GET cycle is not viable here, yet.