Bye print
This commit is contained in:
parent
0d14460688
commit
331e7aa14c
2 changed files with 1 additions and 3 deletions
|
@ -11,8 +11,6 @@ buildMapFromUri(Map map, String body) {
|
||||||
var equals = keyValuePair.indexOf('=');
|
var equals = keyValuePair.indexOf('=');
|
||||||
String key = Uri.decodeQueryComponent(keyValuePair.substring(0, equals));
|
String key = Uri.decodeQueryComponent(keyValuePair.substring(0, equals));
|
||||||
String value = keyValuePair.substring(equals + 1); //Uri.decodeQueryComponent(split[1]);
|
String value = keyValuePair.substring(equals + 1); //Uri.decodeQueryComponent(split[1]);
|
||||||
print('Key: $key');
|
|
||||||
print('Value: $value');
|
|
||||||
|
|
||||||
if (parseArrayRgx.hasMatch(key)) {
|
if (parseArrayRgx.hasMatch(key)) {
|
||||||
Match queryMatch = parseArrayRgx.firstMatch(key);
|
Match queryMatch = parseArrayRgx.firstMatch(key);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: body_parser
|
name: body_parser
|
||||||
author: Tobe O <thosakwe@gmail.com>
|
author: Tobe O <thosakwe@gmail.com>
|
||||||
version: 1.0.0-dev+3
|
version: 1.0.0-dev+4
|
||||||
description: Parse request bodies and query strings in Dart.
|
description: Parse request bodies and query strings in Dart.
|
||||||
homepage: https://github.com/thosakwe/body_parser
|
homepage: https://github.com/thosakwe/body_parser
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
Loading…
Reference in a new issue