From 2855017d68a727eaf68d937ef664981c5f1ac4d9 Mon Sep 17 00:00:00 2001 From: Tobe O Date: Sun, 19 Aug 2018 11:33:25 -0400 Subject: [PATCH] Switch to MediaType --- .idea/libraries/Dart_Packages.xml | 274 +++++------- .idea/workspace.xml | 680 ++++++++++++++++------------- CHANGELOG.md | 6 +- README.md | 2 +- example/handle_error.dart | 3 +- example/json.dart | 3 +- example/main.dart | 3 +- example/templating.dart | 3 +- example/view.dart | 3 +- lib/src/core/angel_base.dart | 8 +- lib/src/core/response_context.dart | 30 +- lib/src/core/server.dart | 11 +- performance/hello/main.dart | 3 +- pubspec.yaml | 12 +- test/accepts_test.dart | 3 +- test/controller_test.dart | 9 +- test/di_test.dart | 3 +- test/encoders_buffer_test.dart | 3 +- test/extension_test.dart | 3 +- test/general_test.dart | 3 +- test/hooked_test.dart | 3 +- test/parameter_meta_test.dart | 3 +- test/precontained_test.dart | 3 +- test/primitives_test.dart | 3 +- test/repeat_request_test.dart | 3 +- test/routing_test.dart | 7 +- test/serialize_test.dart | 3 +- test/server_test.dart | 23 +- test/services_test.dart | 3 +- test/streaming_test.dart | 3 +- test/view_generator_test.dart | 3 +- 31 files changed, 592 insertions(+), 530 deletions(-) diff --git a/.idea/libraries/Dart_Packages.xml b/.idea/libraries/Dart_Packages.xml index 3cbc4924..568c7bb1 100644 --- a/.idea/libraries/Dart_Packages.xml +++ b/.idea/libraries/Dart_Packages.xml @@ -5,7 +5,14 @@ - + + + + + + @@ -16,17 +23,10 @@ - - - - - - - @@ -40,28 +40,28 @@ - - - - @@ -82,7 +82,7 @@ - @@ -93,66 +93,59 @@ - - - - - - - - - - - - - - @@ -173,7 +166,7 @@ - @@ -187,35 +180,21 @@ - - - - - - - - - - - - - - - @@ -229,49 +208,49 @@ - - - - - - - @@ -285,286 +264,267 @@ - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + - - - - + + + + - + - - - - - - - - - + + + + + + + + - + - - - - - + + + - - - - - - - + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 37317968..d3b6f07a 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,8 +2,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -26,101 +55,95 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + - - + + - - + + - - - - - - - - - - - - - - + + - - + + - - + + - - + + - + - - + + - - + + + + + + + + + + + - + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -137,9 +160,6 @@ - (req, res) - headers: headers, - _ ContentType.HTML.mimeType ContentType.JSON.mimeType parameters @@ -167,9 +187,11 @@ == as Map<String, dynamic> result as Map<String, dynamic> + random_strin + Angel() + change - JSON.decode query cookie req.path @@ -199,6 +221,7 @@ IsInstanceOf [Iterable] _foldStringDynamic(result) + Angel(MirrorsReflector()) C:\Users\thosa\Source\Angel\framework\lib @@ -206,9 +229,9 @@ C:\Users\thosa\Source\Angel\framework\test $PROJECT_DIR$/lib/src $PROJECT_DIR$/lib/src/core - $PROJECT_DIR$ $PROJECT_DIR$/lib $PROJECT_DIR$/test + $PROJECT_DIR$ @@ -222,37 +245,16 @@ @@ -300,6 +323,8 @@ + + @@ -351,8 +376,6 @@