Current section

54 Versions

Jump to

Compare versions

3 files changed
+5 additions
-5 deletions
  @@ -52,4 +52,4 @@
52 52 [{<<"app">>,<<"uuid">>},
53 53 {<<"optional">>,false},
54 54 {<<"requirement">>,<<"~>2.0.7">>}]}]}.
55 - {<<"version">>,<<"0.9.19">>}.
55 + {<<"version">>,<<"0.9.20">>}.
  @@ -1,6 +1,6 @@
1 1 {application,nova,
2 2 [{description,"Nova is a web application framework"},
3 - {vsn,"0.9.19"},
3 + {vsn,"0.9.20"},
4 4 {registered,[]},
5 5 {mod,{nova_app,[]}},
6 6 {included_applications,[]},
  @@ -98,6 +98,6 @@ modulate_state(State, [_|Tl]) ->
98 98
99 99 read_body(Req, Acc) ->
100 100 case cowboy_req:read_body(Req) of
101 - {ok, Data, Req0} -> Req0#{body => Data};
102 - {more, Data, Req0} -> read_body(Req0, <<Data/binary, Acc/binary>>)
103 - end.
\ No newline at end of file
101 + {ok, Data, Req0} -> Req0#{body => <<Acc/binary, Data/binary>>};
102 + {more, Data, Req0} -> read_body(Req0, <<Acc/binary, Data/binary>>)
103 + end.