Commit graph

276 commits

Author SHA1 Message Date
Mathias
3fbe736960 =htp enable tests that were erroneously disabled due to specs2 -> scalatest copy-pasta 2014-10-21 14:12:01 +02:00
Mathias
129958d039 =htp add support infrastructure for folding over tuples with a binary poly-function 2014-10-21 14:12:00 +02:00
Björn Antonsson
bca586a7dd Merge pull request #16091 from spray/w/15924-future-directives
+htp #15924 import FutureDirectives from spray
2014-10-21 13:42:49 +02:00
Johannes Rudolph
5870c4ab90 +htp #15924 import FutureDirectives from spray 2014-10-21 11:12:10 +02:00
Björn Antonsson
0f61909ea7 !str #16102 Fold Tap/Drain into Source/Sink
* Fold Tap/Drain into Source/Sink
* Create Source/Sink helpers to create all Sources/Sinks
* Make concrete Source/Sink implementations private[scaladsl2]
2014-10-17 14:05:50 +02:00
Johannes Rudolph
4d0e1ba231 !htp #16088 replace RouteResult.Failure by Future.failed + handle post-processing directly in Directives
This replaces the awkward post-processing previously done with RequestContext.finish and
prevents the loop-hole of Future.failed which previously allowed errors
to be missed by the current ExceptionHandler.
2014-10-14 12:23:13 +02:00
Johannes Rudolph
2178e6a373 =htp #16063 fail on data truncation for GZIP coding 2014-10-10 16:52:15 +02:00
Johannes Rudolph
6170655b19 =htp #15921 import CodingDirectives from spray 2014-10-10 16:52:15 +02:00
Johannes Rudolph
13fb925fe9 =htp #16064 fail properly and early if Gzip header is corrupt 2014-10-10 16:39:28 +02:00
Endre Sándor Varga
ed27f86791 !htc #15726: Akka HTTP with the new DSL 2014-10-10 13:51:36 +02:00
Björn Antonsson
a47fee4fda Merge pull request #15982 from bthuillier/release-2.3-dev
+htp #15932 Import SchemeDirectives from spray
2014-10-09 22:41:45 +02:00
Benjamin Thuillier
0966bf6233 +htp #15932 integrate SchemeDirectives from spray codebase 2014-10-09 17:11:33 +02:00
Björn Antonsson
7cc9e9902f Merge pull request #15985 from bthuillier/feature/directives-migration
Spray Directives Migration
2014-10-09 13:46:50 +02:00
Mathias
950a81be8e =htp add one more test 2014-10-08 13:42:01 +02:00
Benjamin Thuillier
b98f21cb80 +htp #15928 Import MiscDirectives from spray 2014-10-07 14:08:31 +02:00
Benjamin Thuillier
6ad7622621 +htp #15925 Import HeaderDirectives from spray 2014-10-07 14:05:12 +02:00
Mathias
46d51e531f =htp reduce set of not-encoded characters in FormData marshalling
Port of https://github.com/spray/spray/pull/918
2014-10-07 12:02:13 +02:00
Mathias
27c5167e73 =htp small simplification in tests 2014-10-06 10:42:01 +02:00
Mathias
f7d7a289f3 =htp fix UnsupportedOperationException in PathMatchers.valueMap2PathMatcher 2014-10-06 10:41:54 +02:00
Johannes Rudolph
fb98d1aa69 +htp #15910 import + improve coding infrastructure from spray 2014-10-02 15:22:06 +02:00
Benjamin Thuillier
a2bcc0fb06 +htp #15926 Import HostDirectives from spray 2014-09-26 11:39:03 +02:00
Mathias
ad26a32e83 !htp,htk Upgrade from Deferrable to new FastFuture, closes #15962 2014-09-25 14:56:34 +02:00
Johannes Rudolph
c77f4e28f6 !hco #15915 introduce more shades of HttpEntities
The introduction of BodyParts again showed that not all entity types are
useful for every kind of context. There are now these contexts where
HttpEntities are used:
 - requests
 - responses
 - body parts

And several kinds of entities:
 - Strict
 - Default
 - Chunked
 - CloseDelimited
 - IndefiniteLength

To increase type safety of the API marker-interfaces are introduced defining
which kinds of entities can be used in which contexts:
 - RequestEntity: Strict, Default, Chunked
 - ResponseEntity: Strict, Default, Chunked, CloseDelimited
 - BodyPartEntity: Strict, Default, IndefiniteLength

Also, to be able still to provide abstractions over some kinds of entities
additional auxiliary interfaces were necessary:
 - MessageEntity = RequestEntity >: ResponseEntity: Strict, Default, Chunked (type alias for RequestEntity)
 - UniversalEntity = RequestEntity with ResponseEntity with BodyPartEntity = Strict, Default
2014-09-22 12:03:33 +02:00
Mathias
47affda004 !htp rename akka.http.routing package to akka.http.server 2014-09-17 16:42:31 +02:00
Björn Antonsson
a902d079b0 +pro #15406 Split up stream into testkit, tests and tck 2014-09-16 10:16:38 +02:00
Mathias
8dbb311ddc =htp Add akka-http-tests project, tests for already-ported directives
Also move the tests that were previously in the akka-http project here
2014-09-11 17:15:50 +02:00