@@ -36,6 +36,9 @@ public void get(HttpServletRequest req, HttpServletResponse resp)
3636 public void get (HttpServletRequest req , HttpServletResponse resp , boolean sendBody )
3737 throws ServletException , IOException
3838 {
39+ // let the superclass prepare the request/response objects
40+ super .get (req , resp );
41+
3942 // do the initial authentication
4043 AuthCredentials auth = null ;
4144 try
@@ -135,6 +138,9 @@ public void head(HttpServletRequest req, HttpServletResponse resp)
135138 public void put (HttpServletRequest req , HttpServletResponse resp )
136139 throws ServletException , IOException
137140 {
141+ // let the superclass prepare the request/response objects
142+ super .put (req , resp );
143+
138144 // do the initial authentication
139145 AuthCredentials auth = null ;
140146 try
@@ -205,6 +211,9 @@ public void put(HttpServletRequest req, HttpServletResponse resp)
205211 public void post (HttpServletRequest req , HttpServletResponse resp )
206212 throws ServletException , IOException
207213 {
214+ // let the superclass prepare the request/response objects
215+ super .post (req , resp );
216+
208217 // do the initial authentication
209218 AuthCredentials auth = null ;
210219 try
@@ -305,6 +314,9 @@ public void post(HttpServletRequest req, HttpServletResponse resp)
305314 public void delete (HttpServletRequest req , HttpServletResponse resp )
306315 throws ServletException , IOException
307316 {
317+ // let the superclass prepare the request/response objects
318+ super .delete (req , resp );
319+
308320 // do the initial authentication
309321 AuthCredentials auth = null ;
310322 try
0 commit comments