Accessing server version info at client callback.
[iotivity.git] / resource / unittests / OCHeaderOptionTest.cpp
index fe10e19..2ce0143 100644 (file)
@@ -52,7 +52,8 @@ namespace OC
                             && HeaderOption::IF_NONE_MATCH_OPTION_ID != i
                             && HeaderOption::LOCATION_PATH_OPTION_ID != i
                             && HeaderOption::LOCATION_QUERY_OPTION_ID != i
-                            && HeaderOption::ACCEPT_OPTION_ID != i)
+                            && HeaderOption::ACCEPT_OPTION_ID != i
+                            && HeaderOption::CONTENT_TYPE_OPTION_ID != i)
                     {
                         ASSERT_THROW(
                                 HeaderOption::OCHeaderOption(i,""),