https://issues.apache.org/bugzilla/show_bug.cgi?id=49424
Summary: Using URL.ChunkedStreamingMode results in HTTP
response code: 405
Product: Tomcat 6
Version: 6.0.26
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: regression
Priority: P2
Component: Connectors
AssignedTo: [email protected]
ReportedBy: [email protected]
Using the URL class coupled with setChunkedStreamingMode results in:
SEVERE: java.lang.NullPointerException
at
org.apache.catalina.connector.Request.readChunkedPostBody(Request.java:2632)
This is true for 6.0.26. This worked fine in 6.0.16 and the source code
that I have for 6.0.20 does not have the readChunkedPostBody method.
Attached is a TestNG unit test demonstrating the issue. The method
connectNoChunking() runs fine while the method connectWithChunking() fails.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]