[Revised] Problem about "Expect: 100-continue"
807567Oct 31 2005 — edited Nov 14 2005Hi,
I recently konw that Sun Java System Webserver doesn't respond "Expect: 100-continue" of request header.
I tried something like below.
================ [Web Logic8.1 Plug-in] ================
----- [Web Server 6.0 sp8] -----
telnet localhost 92
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
POST /HelloJSP/HelloJSP.jsp?numtimes=3 HTTP/1.1
Expect: 100-Continue
Content-Length: 280
Host: EAI:92
HTTP/1.1 100 Continue <----------------------------- 100 continue
Connection closed by foreign host.
----- [Web Server 6.1 sp4] -----
telnet localhost 83
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
POST /HelloJSP/HelloJSP.jsp?numtimes=3 HTTP/1.1
Expect: 100-Continue
Content-Length: 280
Host: EAI:83
HTTP/1.1 500 Server Error <-------------------------- 500 Server Error
Server: Sun-ONE-Web-Server/6.1
Date: Sun, 31 Oct 2004 01:50:41 GMT
Content-type: text/jsp
Transfer-encoding: chunked
19
HTTP/1.1 100 Continue
================ [Web Logic8.1 Not Plug-in] ================
----- [Web Server 6.0 sp8] -----
telnet localhost 7890
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
POST /choi/HelloJSP.jsp?numtimes=3 HTTP/1.1
Expect: 100-Continue
Content-Length: 280
Host: EAI:7890
HTTP/1.1 200 OK <------------------------------------ 200 OK
Server: Netscape-Enterprise/6.0
Date: Sun, 31 Oct 2004 02:13:11 GMT
Content-length: 141
Content-type: text/html;charset=ISO-8859-1
Set-cookie: JSESSIONID=sjs60-0%253A41844a19%253A4b78ebbde37542e;path=/
Connection closed by foreign host.
----- [Web Server 6.1 sp4] -----
telnet localhost 84
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
POST /HelloJSP/HelloJSP.jsp?numtimes=3 HTTP/1.1
Expect: 100-Continue
Content-Length: 280
Host: EAI:84
HTTP/1.1 200 OK <------------------------------------ 200 OK
Server: Sun-ONE-Web-Server/6.1
Date: Sun, 31 Oct 2004 02:07:55 GMT
Content-type: text/html;charset=ISO-8859-1
Set-cookie: JSESSIONID=E3ACEFCBB553E20E567D65A697D4F057;Path=/
Transfer-encoding: chunked
008e
0
I think that Sun Java System Web Server 6.0 and 6.1 don't respond "HTTP/1.1 100 Continue" but just pass it from WebLogic.
And I found 500 Error is responsed on Sun Java System Webserver6.1 .
Is there anybody knows about this problem?
How can I set the Web Server to response "HTTP/1.1 100 Continue" message and to solve 500 Error?