public class Jetty400Repro extends HttpServlet
| Constructor and Description |
|---|
Jetty400Repro() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doPost(HttpServletRequest req,
HttpServletResponse resp) |
static void |
main(String[] args)
Jetty 7.0.1 returns 400 on the second POST, when you send both Connection: Keep-Alive and
Expect: 100-Continue headers in the request.
|
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, servicedestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, logpublic static void main(String[] args) throws Exception
args - Exceptionprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
doPost in class HttpServletServletExceptionIOExceptionCopyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.