Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH 0/2] Borrow encoding/decoding functions from cURL
@ 2020-01-09  8:04 olegrok
  2020-01-09  8:04 ` [Tarantool-patches] [PATCH 1/2] httpc: introduce url_escape/url_unescape functions olegrok
  2020-01-09  8:04 ` [Tarantool-patches] [PATCH 2/2] httpc: introduce format_query and parse_query functions olegrok
  0 siblings, 2 replies; 3+ messages in thread
From: olegrok @ 2020-01-09  8:04 UTC (permalink / raw)
  To: tarantool-patches, alexander.turenko; +Cc: Oleg Babin

From: Oleg Babin <babinoleg@mail.ru>

This patchest introduces four new functions for
http.client module

First patch properly closes #3682 and introduces
url_encode and url_decode functions - simple
wrappers via libcurl functions

However it could be enough for our users that
will use it for query arguments formatting and parsing

The second one introduces more high-level functions -
format_query and parse_query

Issue: https://github.com/tarantool/tarantool/issues/3682
Branch: https://github.com/tarantool/tarantool/tree/olegrok/3682-url-escape 

Oleg Babin (2):
  httpc: introduce url_escape/url_unescape functions
  httpc: introduce format_query and parse_query functions

 src/httpc.c                       | 19 ++++++++
 src/httpc.h                       | 36 +++++++++++++++
 src/lua/httpc.c                   | 45 +++++++++++++++++++
 src/lua/httpc.lua                 | 75 +++++++++++++++++++++++++++++--
 test/app-tap/http_client.test.lua | 58 +++++++++++++++++++++++-
 5 files changed, 229 insertions(+), 4 deletions(-)

-- 
2.23.0

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-09  8:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-09  8:04 [Tarantool-patches] [PATCH 0/2] Borrow encoding/decoding functions from cURL olegrok
2020-01-09  8:04 ` [Tarantool-patches] [PATCH 1/2] httpc: introduce url_escape/url_unescape functions olegrok
2020-01-09  8:04 ` [Tarantool-patches] [PATCH 2/2] httpc: introduce format_query and parse_query functions olegrok

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox