Skip to content
This repository was archived by the owner on Dec 16, 2024. It is now read-only.

Commit 1d29844

Browse files
author
Johannes Huning
committedFeb 28, 2013
Retain match-all etest_http:make_query
1 parent 62423f1 commit 1d29844

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/etest_http.erl

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ make_query({Key, Value}) when is_integer(Value) ->
5353
make_query({Key, Value}) when is_atom(Key) ->
5454
make_query({atom_to_list(Key), Value});
5555

56-
% Key & value lists
57-
make_query({Key, Value}) when is_list(Key) andalso is_list(Value) ->
56+
make_query({Key, Value}) ->
5857
[url_encode(Key), "=", url_encode(Value)].
5958

59+
6060
url_encode(Value) when is_list(Value) ->
6161
http_uri:encode(Value);
6262

0 commit comments

Comments
 (0)
This repository has been archived.