You are right, it is confusing :)

After a while I found this in the documenation 
http://doc.akka.io/docs/akka-http/10.0.4/scala/http/common/http-model.html#http-model,
 
but for me it does not make sense that valid Content-Types are 
filtered-away and "customized" Content-Types show up.

If this is an valid behaviour it should at least be documenated in the API 
of the according functions. 


Am Dienstag, 4. April 2017 23:29:13 UTC+2 schrieb Kyrylo Stokoz:
>
> ContentType, contentLength and some other headers are available on 
> httpentity and not part of standard headers in akka http, see headers 
> section in 
> http://doc.akka.io/docs/akka-http/current/scala/http/common/http-model.html 
> This was confusing for me in the beginning as well.

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to