public class Jetty400Repro extends javax.servlet.http.HttpServlet
Constructor and Description |
---|
Jetty400Repro() |
Modifier and Type | Method and Description |
---|---|
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
static void |
main(java.lang.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
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- java.lang.Exception
protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, java.io.IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException
Copyright © 2013. All Rights Reserved.