=doc, htp minor fixes in docs and tests

This commit is contained in:
2beaucoup 2015-07-17 16:22:12 +02:00
parent 3e3454e617
commit 2012726f1b
5 changed files with 8 additions and 10 deletions

View file

@ -133,9 +133,9 @@ The ``HttpEntity`` companion object contains several helper constructors to crea
You can pattern match over the subtypes of ``HttpEntity`` if you want to provide special handling for each of the
subtypes. However, in many cases a recipient of an ``HttpEntity`` doesn't care about of which subtype an entity is
(and how data is transported exactly on the HTTP layer). Therefore, a general
``HttpEntity::dataBytes: Source[ByteString, Any]`` is provided which allows access to the data of an entity regardless
of its concrete subtype.
(and how data is transported exactly on the HTTP layer). Therefore, the general method ``HttpEntity.dataBytes`` is
provided which returns a ``Source[ByteString, Any]`` that allows access to the data of an entity regardless of its
concrete subtype.
.. note::