Commit graph

303 commits

Author SHA1 Message Date
Johan Andrén
0aea3af0ad =htc #19650 expse effectivePort on Uri, better port handling
* =htc #19650 Public access to effectivePort in Uri

* =htc #19650 normalize port as late as possible
2016-05-12 08:55:06 +02:00
Johan Andrén
196c4bd4a1 re-enable DontLeakActorsOnFailingConnectionSpecs #19049 2016-05-11 08:55:34 +02:00
Anil Gursel
b57290125a headerValueByType should extract just value #20472 2016-05-07 11:08:56 -05:00
Stefano Bonetti
7d40c1d8d4 htp #19681 MalformedRequestContentRejection cause traceability (#20346)
* improved cause tracking for MalformedRequestContentRejection
* unwrapping RejectionErrors when unmarshalling
* amended old project name in CONTRIBUTING.md
2016-05-06 11:19:01 +02:00
Johan Andrén
f5cd3cd4da =htt #19792 Increase file upload directive test timeouts 2016-05-02 11:34:53 +02:00
mumutu
d08b335143 boolean unmarshallers will unmarshall 0 to false 1 to true (#20416)
* add 0 => false 1 => true
* add test
2016-04-29 17:46:14 +02:00
2beaucoup
7913e25257 =htp #20338 correct byte range slicing (#20382) 2016-04-28 19:43:58 +02:00
Konrad Malawski
0e11ec2057 !htc #20371 allows for simple HTTPS usage from Java, fixes typo in APIs (#20373) 2016-04-25 12:01:03 +02:00
Konrad Malawski
c57c6eda7e +htc #20273 EitherUnmarshaller (#20274) 2016-04-22 13:48:00 +02:00
Johan Andrén
1f4a83e82b Disable diagram verification for akka-http-tests (#20355) 2016-04-18 18:49:07 +02:00
hepin1989(虎鸣)
e9670ee91d = rename FlowGraph* to GraphDSL 2016-04-15 00:18:05 +08:00
Nafer Sanabria
a3ca98f87d htc #20258 add override modifier in the custom header methods 2016-04-11 13:15:27 +02:00
Alan Johnson
b3c85512a3 htp #19678 add variadic concat route combinator
* add variadic route concatenation function

* add `concat` to `~` warning bubble in docs

* fix grammar of warning bubble, and clarify
2016-04-05 15:36:46 +02:00
Konrad Malawski
d83a323549 =htp #20052 headerValueByType now works with custom headers 2016-03-22 13:11:05 +01:00
Konrad Malawski
2933045156 +htp #20002 add authorizeAsync 2016-03-17 00:58:33 +01:00
Konrad Malawski
a253014ef4 =htp #19397,#19842 fix content negotiation for non 2xx and Accept handling 2016-03-15 09:40:58 +01:00
Martynas Mickevičius
50f99328fe #18765 Update to latest MiMa which is now an AutoPlugin.
* check for binary inc. issues by default
* if check is not needed, disable MimaPlugin
* determine old artifact id from the current one
2016-03-10 10:45:35 +02:00
Konrad Malawski
ac1888fd66 Merge pull request #19871 from ktoso/wip-timeout-http-error-ktoso
=htc #19827 avoid double-push when request timeout triggers
2016-03-08 19:29:35 +01:00
Konrad Malawski
2d7d24dee6 +doc,htp #19896 directives for RequestTimeout and docs 2016-03-08 18:17:35 +01:00
Roland Kuhn
45e97e8467 remove akka.stream.testkit.AkkaSpec, fixes #19879 2016-02-25 15:26:51 +01:00
Johannes Rudolph
b6cbc7f13a =all remove unused imports 2016-02-23 20:29:22 +01:00
Johan Andrén
62e30b3c08 Update copyrights and links to the new company name #19851 2016-02-23 12:58:39 +01:00
Konrad Malawski
ef827e6ef1 -htp #19577 replace overloads of bind with HttpConnect 2016-02-16 13:01:05 +01:00
Roland Kuhn
e202ea8c40 clean up dependencies #19755 and other fixes
* remove inter-project dependencies between streamTestkit -> peristence -> remote
* make PartitionOutOfBoundsException extend IndexOutOfBoundsException
* some weird formatting
* remove -experimental from HTTP Testkit/Tests
* split out shared LevelDb journal tests into new subproject (not to be
  published)
2016-02-15 20:35:37 +01:00
Konrad Malawski
10d3af1478 Merge pull request #19584 from cmbaxter/feature/xff-avoid-dns-cmbaxter
!htt #19388 Removing use of InetAddress.getByName
2016-02-15 13:29:50 +01:00
drewhk
ebb915ae4d Merge pull request #19750 from lolski/lolski-issue-19293-rebased
=str #19293 fix issues in Sink.seq + minor doc fixes + use Sink.seq
2016-02-12 11:36:56 +01:00
lolski
21381d5710 =str #19293 fix issues in Sink.seq + minor doc fixes + use Sink.seq and limit in tests where appropriate
* Sink.seq (Scala DSL) now returns immutable.Seq rather than Seq
* Sink.seq will not silently truncate when incoming elements is > Int.MAX_VALUE
* minor doc fixes
* replacing various grouped(n) / Sink.head with limit(n) / Sink.seq in various tests
* fix inconsistent indentation in RequestParserSpec
2016-02-12 01:36:21 +08:00
Konrad Malawski
d179945a97 +htc #19577 binding DSL for javadsl Http 2016-02-10 18:21:59 +01:00
Chris Baxter
6d3bb94d09 !htt #19388 Chanring x-real-ip from raw to real modeled header
* Allows for parsing rules to be applied to vet the ip
* Removed last cases of code where the String variant of apply on RemoteAddress is used
2016-02-10 12:08:09 -05:00
Johan Andrén
442d10d123 Merge pull request #19673 from newca12/newca12-#19610-fix-multipart-form-data-unmarshaller
=htp fix multipart/form-data unmarshaller when no Content-Type field
2016-02-10 10:15:11 +01:00
Konrad Malawski
645028fa8c Merge pull request #19715 from ktoso/wip-done-marshalling
+htc #19708 provides default marshaller for akka.Done (200, empty text…
2016-02-10 10:11:16 +01:00
Konrad Malawski
3d718cf1f1 +htc #19708 provides default marshaller for akka.Done (200, empty text response) 2016-02-08 16:07:35 +01:00
Olivier ROLAND
9fb3e147db =htp fix multipart/form-data unmarshaller when no Content-Type field is present
RFC 2046:
… multipart/* …
If no Content-Type field is present it is assumed to be "message/rfc822" in a "multipart/digest" and "text/plain" otherwise

RFC 2388:
As with all multipart MIME types, each part has an optional "Content-Type", which defaults to text/plain.
2016-02-02 18:42:12 +01:00
Johan Andrén
61b375cec8 !htt #19514 Update RouterSettings to be non case class 2016-01-25 17:09:03 +01:00
Konrad Malawski
379a3a85b4 !htc #19514 add withXYZ methods to all configs 2016-01-25 15:30:59 +01:00
Prayag Verma
b7783968a0 =pro #19068 All copyrights ranges and single years updated to a range ending in 2016 2016-01-25 10:20:30 +01:00
Roland Kuhn
4c72495581 #19440 replace Scala Future usage with CompletionStage in javadsl
This entails:

  * adding akka.pattern.PatternCS.* to enable ask etc. with
    CompletionStage
  * changing RequestContext to offer an ExecutionContextExecutor for the
    CompletionStage.*Async combinators
  * splitting up akka.stream.Queue for JavaDSL consistency
2016-01-23 18:00:11 +01:00
Konrad Malawski
67ebaba045 !htc,str #19275 fix various scala/java interop problems in DSL 2016-01-22 11:12:22 +01:00
Konrad Malawski
1cd21d9ce2 !htc,str #19275 adjust bind/client apis on Http() 2016-01-22 11:12:22 +01:00
Konrad Malawski
1b47fbeac7 !htc,doc,htp #19508 fix casing of WebSocket (as per spec) 2016-01-22 11:12:22 +01:00
Endre Sándor Varga
a56b50dad9 #19566 Increase too tight patience for FormDataSpec 2016-01-21 15:48:45 +01:00
drewhk
b1d99ca5a8 Merge pull request #19482 from agolubev/agolubev-#19361-migrating_ByteStringParserStage_to_GraphStage
=str #19361 migrating ByteStringParserStage to graph stage
2016-01-21 11:41:09 +01:00
Alexander Golubev
07c0da36f2 =str #19361 migrating ByteStringParserStage to graph stage 2016-01-20 12:23:48 -05:00
Roland Kuhn
e5baba2b29 squash some warnings 2016-01-20 11:54:24 +01:00
Roland Kuhn
3140e72265 #19046 replace system.{shutdown => terminate} 2016-01-20 11:50:43 +01:00
Endre Sándor Varga
60497f6561 also fix FlowInterleaveSpec
Also-by: Johan Andrén <johan@markatta.com>
Also-by: Roland Kuhn <rk@rkuhn.info>
Also-by: Martynas Mickevičius <mmartynas@gmail.com>
2016-01-20 10:01:58 +02:00
Mathias
7eed4a34a5 !htc improve header rendering control by introducing distinction between request and response headers 2016-01-20 00:50:39 +01:00
Roland Kuhn
0db2c303ce Merge pull request #19465 from wjur/wjur/form_fields_master
[WIP] #16651 Add formFieldMap, formFieldMultiMap & formFieldSeq Directives
2016-01-19 14:43:50 +01:00
Martynas Mickevičius
8c1350b0d4 Merge pull request #19505 from 2m/wip-stream-build-fix
Various streams build improvements
2016-01-19 11:17:11 +02:00
Martynas Mickevičius
7743aa9d0a Various streams build improvements
* remove settings duplication between AkkaBuild and project specific .sbt files
* do not publish test projects
* run akka-http-core tests
* fix lambda sample project versions
* remove obsolete projects (streamAndHttp, httpParent, docsDev)
* exclude parsing project from unidoc
* update to the latest sbt
2016-01-18 18:16:30 +02:00