how return in playframework 1.x unauthorized response negotiate header?
this doesn't work:
response.status = http.statuscode.unauthorized; response.setheader("www-authenticate", "negotiate"); render();
try this:
response.status = http.statuscode.unauthorized; response.setheader("www-authenticate","demoheader"); rendertext("hello play");//renderhtml("<p>hello play</p>")