Opened 9 years ago
Closed 9 years ago
#714 closed enhancement (fixed)
Get rid of warning messages from HttpMethodBase
Reported by: | Nicklas Nordborg | Owned by: | olle |
---|---|---|---|
Priority: | minor | Milestone: | LabEnv v1.3 |
Component: | net.sf.basedb.labenv | Keywords: | |
Cc: |
Description (last modified by )
Every time a request is made to one of the sensors a warning message is issued in the log
WARN HttpMethodBase:682 - Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
It should be relatively easy to get rid of this warning by using the getResponseBodyAsStream
method as recommended.
Change History (2)
comment:1 Changed 9 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
(In [3019]) Fixes #714: Get rid of warning messages from HttpMethodBase?
Reading from the response stream to a
StringBuilder
via aBufferedReader
. Basically the same thing that happens in thegetResponseBodyAsString()
but since we *know* that the response is small this is ok.