Commit graph

383 commits

Author SHA1 Message Date
Mathias
14399f71f5 =htc #16807 introduce akka.http.parsing.error-logging-verbosity setting 2015-04-08 16:05:46 +02:00
Mathias
5074aebfeb !htc #16803 introduce proper model for type of media-type encoding specs 2015-04-08 16:02:54 +02:00
drewhk
6cc6363734 Merge pull request #17101 from spray/wip-16804-mathias
=htc #16804 make `akka.http.model.RangeUnit.Bytes` a `case object`
2015-04-07 13:30:42 +02:00
Mathias
f0c9e8a321 =htc #17110 disallow zero body parts in MIME content 2015-04-01 12:26:40 +02:00
Konrad Malawski
a47d71d41c Merge pull request #17096 from spray/wip-16809-mathias
=htc #16809 add testing proving absence of issue spray/spray#1006
2015-03-31 17:38:56 +02:00
Mathias
c73864657a =htc #16805 add tests covering chunked/close-delimited response to HEAD request 2015-03-31 10:44:12 +02:00
Mathias
3305e0a7d7 =htc #16804 make akka.http.model.RangeUnit.Bytes a case object 2015-03-30 16:18:27 +02:00
Mathias
87d2a7fa36 =htc #16806 add test demonstrating custom CT and CL in response to non-transparent HEAD request 2015-03-30 15:58:39 +02:00
Mathias
eb10679ed6 =htc #16809 add testing proving absence of issue spray/spray#1006 2015-03-30 13:30:59 +02:00
Mathias
c3b16a1498 =htc #16823 make Access-Control-Allow-Origin with multiple origins harder to access 2015-03-30 12:07:11 +02:00
Mathias
6d15adcc26 =htc #17066 port new test from spray 2015-03-30 11:01:35 +02:00
Patrik Nordwall
add5f39d18 Merge pull request #17047 from spray/wip-16816-mathias
+htp #16816 Add variants of `conditional` directive taking only ETag or only Last-Modified value.
2015-03-27 11:30:21 +01:00
Konrad Malawski
a382071ed7 Merge pull request #17042 from ktoso/wip-16972-bindandhandle-renames
!htc #16972 harmonize naming - bindAndHandle...
2015-03-25 15:53:24 +01:00
Patrik Nordwall
c83986e74d Merge pull request #17052 from wjur/fix/empty_authority
=htc #16954 Fix handling of empty authority in Uris
2015-03-25 14:56:05 +01:00
Roland Kuhn
354b52f62f Merge pull request #16995 from akka/wip-bidi-dsl-∂π
!str #16416,#16994 BidiFlow DSL and Flow.join Mat
2015-03-24 11:37:44 +01:00
Roland Kuhn
4a7814af91 Merge pull request #17001 from spray/wip-16988-mathias
!htc #16988 hide model.parser.HeaderParser from public API, add proper `HeaderParser.parse`
2015-03-24 11:13:31 +01:00
Roland Kuhn
157629f8af !str #16416,#16994 BidiFlow DSL and Flow.join Mat
- add BidiFlow, with atop and join combinators
- add Flow.join(BidiFlow)
- correct Flow.join’s default materialized value selection to Keep.left
2015-03-24 11:10:14 +01:00
Wojciech Jurczyk
f468d7c426 =htc #16954 Fix handling of empty authority in Uris 2015-03-18 21:07:34 +01:00
Mathias
85edf72d70 +htp #16816 Add variants of conditional directive taking only ETag or only Last-Modified value 2015-03-17 14:45:02 +01:00
Björn Antonsson
1b52ae333f Merge pull request #17020 from spray/wip-close-tests
=htc Enable rendering of HTTP/1.0 responses, increase test coverage for connection closing logic
2015-03-14 16:25:05 -07:00
Konrad Malawski
4a98f8335f !htc #16972 harmonize naming - bindAndHandle... 2015-03-14 11:41:45 -07:00
Konrad Malawski
ac6723cba7 +htc #16972 makes bindAndStartHandlingWith actually run() 2015-03-14 09:55:10 -07:00
Mathias
078017bd42 =htc #16953 Fix handling of empty hosts in Uris 2015-03-06 16:05:20 +01:00
Mathias
6cf64735fd =htc Enable rendering of HTTP/1.0 responses, increase test coverage for connection closing logic 2015-03-06 14:19:05 +01:00
Patrik Nordwall
3dc4e6d077 !str #16992 Rework Source and Sink name parameter
* Remove name parameter (no overloads), naming is performed using `.withAttributes` or the new
  convenience `.named`. Those adds the OperationAttribute.Name and also change the name of the
  shape Inlet and Outlet.

* Remove Source/Sink parameter list for 0 parameter methods,
  this allows usage of `Sink.head` instead of `Sink.head()`
2015-03-06 09:24:00 +01:00
Patrik Nordwall
23c533fdd5 =str #16751 Update to reactive-streams 1.0-RC3
Changed rules:
* 1.9 Always onSubscribe prior to any other signals
* 1.9 NullPointerException if subscriber is null
* 3.17 Long overflow, effectively unbounded instead of onError

Fixed some more things:
* fixed some FIXME
* Long drop and take
* memory leaks in tck tests, use BeforeClass to create ActorSystem
  use AfterClass to shutdown ActorSystem
* more tck tests
* don't emit OnComplete when substream is cancelled
* work around for memory leak in PrefixAndTail
2015-03-05 17:58:24 +01:00
Mathias
6352fbae81 !htc #16988 hide model.parser.HeaderParser from public API, add proper HeaderParser.parse 2015-03-05 11:36:30 +01:00
Mathias
533583a68d =htc add missing private markers to internal parser sub-traits 2015-03-05 11:36:30 +01:00
Mathias
e53867b1d8 =htc small internal member naming improvement 2015-03-05 11:36:29 +01:00
Mathias
abea2c88ef =htc #16934 s/ActorFlowMaterializer/FlowMaterializer where possible, smaller cleanups 2015-03-02 13:52:09 +01:00
Mathias
ef34319987 =htc,htp Small fix in scaladoc, add FIXME reminder 2015-03-02 13:52:06 +01:00
Roland Kuhn
23942c92d4 Merge pull request #16892 from spray/wip-16822-mathias
+hco #16822 add model for `Referer` header
2015-02-26 17:27:25 +01:00
Endre Sándor Varga
8d77fa8b29 !str #16902: Unify stream internal representation
also =str #16912: Fix StreamTcpSpec flakiness
2015-02-26 10:06:56 +01:00
Mathias
fed7cc75f4 =htc Rework tests sensitive to defined header model (class names and count), introduce HttpHeaderParserTestBed 2015-02-24 15:45:39 +01:00
Mathias
d6bc3ec4c5 +hco #16822 add model for Referer header 2015-02-20 15:08:25 +01:00
2beaucoup
ada5922440 !htp #16593 negotiate content encoding 2015-02-18 09:28:15 +01:00
Johannes Rudolph
691a520c16 =hco #16865 response parser needs to continue with startNewMessage if method is still missing 2015-02-12 16:29:19 +01:00
Endre Sándor Varga
972636f500 !str #16425: Fix bind failure tests, unbind should not fail on bind error 2015-02-06 10:18:18 +01:00
Patrik Nordwall
2740d67c61 !str #16565 Make Flexi* limitations explicit
* remove isDemandAvailable
* hide emit from CompletionHandler context
* throw if more than one emit in response to an input
* had to remove the OrderedMerge test/sample because emitting
  from CompletionHandler is currently not supported
* FlexiRoute and FlexiMerge might become more capable later, see issue 16753
2015-02-03 13:42:48 +01:00
Patrik Nordwall
580ba8c484 Merge pull request #16730 from akka/wip-15851-ActorBasedFlowMaterializer-patriknw
!str #15851 Rename FlowMaterializer and settings
2015-01-29 10:30:08 +01:00
Patrik Nordwall
de5bff0444 Merge pull request #16727 from akka/wip-16577-FlexiMerge-exceptions-patriknw
!str #6577 Align API of Flexi with Stage
2015-01-29 10:26:53 +01:00
Patrik Nordwall
8505e4935a !str #6577 Align API of Flexi with Stage
* error -> fail
* complete -> finish
* onComplete - onUpstreamFinish
* onError - onUpstreamFailure
* onCancel - onDownstreamFinish
2015-01-29 10:25:52 +01:00
Patrik Nordwall
cd9d503b03 !str #15851 Rename FlowMaterializer and settings
* FlowMaterializer is now the actor independent interface
* ActorFlowMaterializer is the actor based interface
* MaterializerSettings renamed to ActorFlowMaterializerSettings
* impl.ActorBasedFlowMaterializer renamed to impl.ActorFlowMaterializerImpl
* Optimizations included in ActorFlowMaterializerSettings
* Note that http is using FlowMaterializer in api, but I suspect that it
  will currently only run with a ActorFlowMaterializer
2015-01-27 19:22:22 +01:00
Konrad Malawski
39038597b2 !str #16563 terminal operations start with run*; runFold runForeach 2015-01-26 15:39:36 +01:00
Konrad Malawski
3d2bf3d04a Merge pull request #16607 from gregbeech/wip-16030-age-expires-headers
+htc #16030 Age and Expires headers
2015-01-15 17:44:50 +01:00
Konrad Malawski
9caf4b88d1 =htc #16566 fix company name typo in copyright comment 2015-01-14 18:09:34 +01:00
Greg Beech
fb968eb4be +htc #16030 Age and Expires headers
* Added models/parsers for Age and Expires headers
* Updated tests using RawHeader to use typed headers
2014-12-29 21:42:34 +00:00
Johannes Rudolph
fd8e0225eb +htp #16516 allow setting maximum ByteString chunk size for decoding operations 2014-12-22 10:16:58 +01:00
Johannes Rudolph
29d7a041f6 +htp #16516 rewrite Deflate/GzipDecompressor as StatefulStage to defuse zip bomb
Also, the tests have been DRY'd up.
2014-12-22 10:08:03 +01:00
Johannes Rudolph
bfad068a70 +hco another variant of StreamUtils.runStrict that takes an Iterator of inputs 2014-12-22 10:08:03 +01:00