-
Bug
-
Resolution: Fixed
-
P4
-
1.3.0
-
beta
-
x86
-
linux
Test sun/net/www/protocol/httpsun/net/www/protocol/http/Modified.java
from regression testsuite checks whether HttpURLConnection correctly
implements If-Modified-Since requests to http servers. In order to
do this test makes such request to some www server and checks
response status code. If code is 304 then test pases.
But according to HTTP specifications (rfc2616) www server
does not have to respond with code 304 even if the requested
resource was not modified since requested date. Therefore
test may incorrectly fail if www server gives response other than 304.
Such failure is observed on Linux platform RedHat 6.1 with
Apache www server software.
from regression testsuite checks whether HttpURLConnection correctly
implements If-Modified-Since requests to http servers. In order to
do this test makes such request to some www server and checks
response status code. If code is 304 then test pases.
But according to HTTP specifications (rfc2616) www server
does not have to respond with code 304 even if the requested
resource was not modified since requested date. Therefore
test may incorrectly fail if www server gives response other than 304.
Such failure is observed on Linux platform RedHat 6.1 with
Apache www server software.
- relates to
-
JDK-4092605 HttpURLConnection doesn't implement If-Modified-Since Header
-
- Closed
-