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, service
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
public static void main(String[] args) throws Exception
args
- Exception
protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
doPost
in class HttpServlet
ServletException
IOException
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.