pekko/akka-http-core
Rich Dougherty 8588fb9fbf !hco Make Content-Length and Content-Type visible but not constructible
This makes the `Content-Length` and `Content-Type` types visible - but not
constructible - outside of Akka HTTP. The change partially reverts #15800.
the http package. The types need to be visible so that Play can access
all parsed headers. However they types are not constructible outside Akka
HTTP because it is not desirable for users to create these headers. Users
should set the Content-Length and Content-Type via the members of the
HttpEntity objects.

Includes integration tests in the io.akka package to ensure that objects
have correct visibility outside akka.http.
2014-09-19 14:21:07 +12:00
..
src !hco Make Content-Length and Content-Type visible but not constructible 2014-09-19 14:21:07 +12:00