http://dev.helma.org/bugs/show_bug.cgi?id=682 Summary: Provide a method for reading the content of an HTTP
request for any content type
Product: Helma
Version: CVS trunk
Platform: Other
URL:
https://dev.helma.org/trac/helma/browser/helma/helma/t runk/src/helma/servlet/AbstractServletClient.java#L685
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: Web Support
AssignedTo:
helma-dev@...
ReportedBy:
interface@...
I just noticed that there is no easy way of reading the content of an HTTP
request from Helma’s req object when the content type is *not*
"application/x-www-form-urlencoded.
This is due to line 685 of AbstractServletClient.java (see URL).
With any other content type obviously the request content is not parsed or
stored in req.data.http_post_remainder.
I am not sure if content should go into http_post_remainder then; it sounds
awkward to me, especially in cases where the content is the only data besides
the headers.
Maybe a simple additional method could be provided, e.g. req.getContent()?
--
Configure bugmail:
http://dev.helma.org/bugs/userprefs.cgi?tab=email------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Helma-dev mailing list
Helma-dev@...
http://helma.org/mailman/listinfo/helma-dev