Open wilerson opened 6 years ago
Confirming that, as of 2.7.0, #295 still happens. Any combination when trying to retrieve the servlet context returns null, either from request.raw() or request.session().raw() or request.raw().getSession().
request.raw()
request.session().raw()
request.raw().getSession()
i can confirm too
@wilerson @yisraelU maybe you are not run from web container
There is a fix for this issue in this PR: https://github.com/perwendel/spark/pull/983
Confirming that, as of 2.7.0, #295 still happens. Any combination when trying to retrieve the servlet context returns null, either from
request.raw()
orrequest.session().raw()
orrequest.raw().getSession()
.