You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Welle we have a "smart" deserialization feature that works like this: if IRiakObject content type is known, we deserialize the value automatically for common formats like text or JSON. During this process, IRiakObject's content type is compared with the Constants/CTYPE_JSON_UTF8 value. In 1.1 this value is
note that there is no space between base content type and parameters. This is not a problem in general but when content type is read from IRiakObject, the space between base type and parameter list magically appears and comparison fails: application/json;charset=UTF-8" is not equal to application/json; charset=UTF-8".
This is a very annoying problem that makes the constant rather useless.
The text was updated successfully, but these errors were encountered:
In Welle we have a "smart" deserialization feature that works like this: if IRiakObject content type is known, we deserialize the value automatically for common formats like text or JSON. During this process, IRiakObject's content type is compared with the
Constants/CTYPE_JSON_UTF8
value. In 1.1 this value isnote that there is no space between base content type and parameters. This is not a problem in general but when content type is read from IRiakObject, the space between base type and parameter list magically appears and comparison fails:
application/json;charset=UTF-8"
is not equal toapplication/json; charset=UTF-8"
.This is a very annoying problem that makes the constant rather useless.
The text was updated successfully, but these errors were encountered: