Some HTTP answers don't contain "Content-Type" headers in case of "text/plain".
In formatted responses the header gets added by the e.g. @response("%.2f")
decorator. Some responses that answer just normal strings (like "IN" for the
function string of digital devices) don't have the @response decorator and thus
miss the header.
Solution would be to add @response(contentType=M_PLAIN) to those calls.
Found this behaviour for most of the .../function/... calls of digital devices
(native and expanders), maybe others exist but should be only some.
Minor problem, does not affect functionality, just added so that it doesn't get
forgotten.
Original issue reported on code.google.com by andreas....@googlemail.com on 5 Mar 2014 at 4:00
Original issue reported on code.google.com by
andreas....@googlemail.com
on 5 Mar 2014 at 4:00