2015-05-11 23:05:18 +02:00
|
|
|
Migration Guide from spray
|
|
|
|
|
==========================
|
|
|
|
|
|
2015-10-08 16:26:29 +02:00
|
|
|
**TODO - will be written shortly.**
|
|
|
|
|
|
|
|
|
|
- ``respondWithStatus`` also known as ``overrideStatusCode`` has not been forward ported to Akka HTTP,
|
2015-10-09 15:19:36 +02:00
|
|
|
as it has been seen mostly as an anti-pattern. More information here: https://github.com/akka/akka/issues/18626
|
|
|
|
|
- ``respondWithMediaType`` was considered an anti-pattern in spray and is not ported to Akka HTTP.
|
|
|
|
|
Instead users should rely on content type negotiation as Akka HTTP implements it.
|
2016-05-12 09:46:29 +02:00
|
|
|
More information here: https://github.com/akka/akka/issues/18625
|
|
|
|
|
- :ref:`registeringCustomMediaTypes` changed from Spray in order not to rely on global state.
|