André Cardoso
13070c62af
=htc #19159 Adds falback for wildcard charset with decimal priority
...
For content types with no registered charset (e.g. image/gif), an Accept-Charset
header with decimal priority (`Accept-Charset *;q=0.99`) should not reject the
request.
2015-12-13 18:09:17 +00:00
Roland Kuhn
0f74a0e02b
Merge pull request #19118 from Softwire/wip-18567-unmarshallers-for-csv-number-sequences
...
!htp #18567 Added unmarshallers for CSV integer sequences
2015-12-13 17:48:27 +01:00
Roland Kuhn
27353d4952
Merge remote-tracking branch 'pr/19150' into release-2.3-dev
2015-12-13 16:55:39 +01:00
Roland Kuhn
ed35df0a44
Merge pull request #19151 from 2beaucoup/minor-cleanups
...
Minor cleanups
2015-12-13 16:48:32 +01:00
2beaucoup
474fb870e9
=htc: minor cleanups
2015-12-11 16:12:48 +01:00
Viktor Klang
33a9257a3b
=str&http - 19142 - Renames all occurrences of mat with materializer
...
(When referring to a Materializer)
2015-12-11 14:45:24 +01:00
Konrad Malawski
d1607c35c8
=htc amend CodingDirectivesSpec to match rebased code
2015-12-11 02:04:48 +00:00
Anton Karamanov
1530248480
=htp #19099 make sure headers are always written on finish in GzipCompressor
2015-12-10 19:29:38 +00:00
Anton Karamanov
3dbb553b0e
=htp #19099 fix encoding of empty stings
2015-12-10 19:29:30 +00:00
Roland Kuhn
1500d1f36d
!str #19005 make groupBy et al return a SubFlow
...
A SubFlow (or SubSource) is not a Graph, it is an unfinished builder
that accepts transformations. This allows us to capture the substreams’
transformations before materializing the flow, which will be very
helpful in fully fusing all operators.
Another change is that groupBy now requires a maxSubstreams parameter in
order to bound its resource usage. In exchange the matching merge can be
unbounded. This trades silent deadlock for explicit stream failure.
This commit also changes all uses of Predef.identity to use `conforms`
and removes the HTTP impl.util.identityFunc.
2015-12-10 12:27:16 +01:00
Catalin Ursachi
62afd94a47
!htp #18567 Added unmarshallers for CSV integer sequences
2015-12-07 17:49:22 +00:00
Konrad Malawski
a8545c0437
=htc remove reference to jdk7 class in test
2015-12-07 14:12:13 +01:00
Mathias
ba397463c3
!htc, htp #16991 add support for precompressed media-types and .gz file extension suffixes
2015-12-04 13:32:01 +01:00
Mathias
899b92faf2
!htp #19034 refactor content negotiation, upgrade to new MediaType / ContentType model
2015-12-04 13:32:01 +01:00
Konrad Malawski
177496333b
=htc ignore test, to be fixed in #19049
2015-11-30 14:30:44 +01:00
Konrad Malawski
7afb750380
=str make StageActorRef "single" and watchable, fix some tests
2015-11-30 13:39:35 +01:00
Konrad Malawski
5b3c04572f
=htp Fixes early error also being signalled as error via event
2015-11-30 13:38:32 +01:00
Konrad Malawski
93e5cc38f4
Merge pull request #18979 from spray/wip-16898-mathias
...
htp: remove server bypass, add early response detection
2015-11-27 14:02:18 +01:00
Mathias
8fc02dd799
+htp add selectPreferredLanguage directive incl. docs
2015-11-27 12:52:53 +01:00
Mathias
aeb05bd108
=htc,htp prepare for enabling stream.materializer.debug.fuzzing-mode=on in tests
2015-11-25 16:39:11 +01:00
Konrad Malawski
301d1fd337
Merge pull request #18946 from johanandren/wip-16841-uploadedFile-directive-johanandren
...
Wip #16841 uploaded file directive
2015-11-24 22:33:35 +01:00
Konrad Malawski
fd5a3afc9d
Merge pull request #18942 from ktoso/wip-customheaders-impr-ktoso
...
+htc #18898 modeledCustomHeader to ease matching on headers
2015-11-24 16:27:10 +01:00
Johan Andrén
3c0877d964
+htt 16841 uploadedFile directive
...
Two new directives for accepting file uploads through multipart forms:
`uploadedFile` which allows for very simple upload into a temporary file
`fileUpload` which allows to simply work with the stream of bytes of an upload
2015-11-24 16:21:25 +01:00
Konrad Malawski
6f5d449bd0
+htc #18898 modeledCustomHeader to ease matching on headers
2015-11-24 12:01:26 +01:00
Mathias
9aacb6fb00
=htp #18999 fix IllegalArgumentException in getFromFile/getrFromResource when serving empty files
2015-11-23 16:11:12 +01:00
Viktor Klang
8780ba28a4
!str - Moving the InputStream and OutputStream utilities into Source and Sink
2015-11-18 09:13:57 +01:00
Konrad Malawski
89461c2b2a
Merge pull request #18905 from ktoso/wip-throws-in-tests-empty-stream-ktoso
...
=str #18902 in tests (due to grouped+Sink.head) empty response stream…
2015-11-16 15:52:02 +01:00
Konrad Malawski
8650d0c473
+str #18906 add Sink.headOption
2015-11-14 16:36:09 +01:00
2beaucoup
0b16046a34
=htp #18881 accept multipart boundary parameters with internal spaces
2015-11-10 16:13:43 +01:00
Konrad Malawski
985e3b1c2f
=str #18902 in tests (due to grouped+Sink.head) empty response stream would throw
2015-11-10 13:52:33 +01:00
Konrad Malawski
f908a6a9dc
=str #16927 preserve header order in body parts
2015-11-07 20:11:41 +01:00
Roland Kuhn
556012b7ee
!str,htc replace and remove OneBoundedInterpreter
...
main work by @drewhk with contributions from @2m and @rkuhn
This work uncovered many well-hidden bugs in existing Stages, in
particular StatefulStage. These were hidden by the behavior of
OneBoundedInterpreter that normally behaves more orderly than it
guarantees in general, especially with respect to the timeliness of
delivery of upstream termination signals; the bugs were then that
internal state was not flushed when onComplete arrived “too early”.
2015-11-01 14:53:52 +01:00
Konrad Malawski
20f54435f1
Merge pull request #18770 from ktoso/wip-idleTimeout-ktoso
...
idleTimeout in HTTP
2015-10-29 14:16:16 -07:00
Konrad Malawski
2c2228c241
=str #16597 initial steps with idleTimeout
2015-10-27 13:55:18 -07:00
Johan Andrén
19c8e557ba
=htp #18661 effectiveUri in Java testkit
...
Java testkit now uses effectiveUri to behave just like the Scala testkit so that
the host header and path is joined. This allows for test calls that use just a relative
URI.
2015-10-24 13:47:25 +02:00
Konrad Malawski
ce07ae75b7
+doc,htp #18496 overrideMethodWithParameter
2015-10-12 02:05:29 +02:00
Konrad Malawski
7f883a8b16
+htp #18496 add missing directive documentation (scala)
2015-10-07 10:46:11 +02:00
Konrad Malawski
a534e9bddc
Merge pull request #17643 from pjan/revision/http/generalised-authentication
...
!htp #17384 - Generalised Security Directives to accept Bearer Token Authentication
2015-09-29 10:52:52 +02:00
Konrad Malawski
2569b3f92a
Merge pull request #18520 from ktoso/wip-csvParams-simpler
...
=htc #18518 make it simpler to unmarshal csv values from params
2015-09-28 12:08:52 +02:00
pjan vandaele
4dde089d82
Generalised Authentication Directives to accept Bearer Tokens
...
Make type of credential authentication explicit
Cleanup
2015-09-26 09:40:29 +09:00
Roland Kuhn
68ba0643d6
=str,htp clean up build warnings
...
- explicitly provide Unit values and place parens around tuple creation
- remove structural type usage in TestUtils
- fix Java double-casts
- use unused Java values by asserting their non-nullness
- work around inability to place case class in trait (scripted test)
The remaining warnings about using private types in public methods are
bogus as reported in https://issues.scala-lang.org/browse/SI-9490 .
2015-09-25 15:20:23 +02:00
Konrad Malawski
c9adfcfbc7
=htc #18518 make it simpler to unmarshal csv values from params
2015-09-20 19:27:04 +01:00
Johannes Rudolph
db1be86b02
+htp #16438 add Java-side rejection handling support
2015-09-09 10:31:00 +02:00
Johannes Rudolph
96ef8875c8
!htp use immutable collections in Rejections
2015-09-09 10:28:34 +02:00
Konrad Malawski
522edf11b6
Merge pull request #18390 from fehmicansaglam/18389-fix-spray-json-unmarshaller-utf8-bug-fehmicansaglam
...
Fix spray-json unmarshaller utf8 encoding bug
2015-09-03 11:16:31 +02:00
Fehmi Can Saglam
5cfbfc63ea
=htp #18389 Fix spray-json unmarshaller utf8 encoding bug
2015-09-03 11:42:36 +03:00
Konrad Malawski
dfed97818f
Merge pull request #18381 from ktoso/wip-reenable-tests-ktoso
...
=htp #18361 reenable pending tests ported from spray
2015-09-03 10:23:26 +02:00
Konrad Malawski
4e1b812828
=htp #18361 enable pending test in RouteDirectivesSpec
2015-09-01 15:24:28 +02:00
Konrad Malawski
1c3defc6dc
=htp #18361 bump spray-json version and enable pending spec
2015-09-01 12:56:51 +02:00
Johannes Rudolph
3ef074d1ec
=htp #17068 decodeRequestWith(NoEncoding) should not touch request entity
2015-08-31 12:08:05 +02:00