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(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(String[] args) throws Exception
args
- Exception
protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
Copyright © 2022. All rights reserved.