Преглед на файлове

Updated documentation of the "accept_content" setting. (#4658)

Felipe Godói Rosário преди 7 години
родител
ревизия
adbc2e48c8
променени са 1 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 3 2
      docs/userguide/configuration.rst

+ 3 - 2
docs/userguide/configuration.rst

@@ -182,8 +182,9 @@ A white-list of content-types/serializers to allow.
 If a message is received that's not in this list then
 the message will be discarded with an error.
 
-By default any content type is enabled, including pickle and yaml,
-so make sure untrusted parties don't have access to your broker.
+By default only json is enabled but any content type can be added,
+including pickle and yaml; when this is the case make sure
+untrusted parties don't have access to your broker.
 See :ref:`guide-security` for more.
 
 Example::