Tarantool development patches archive
 help / color / mirror / Atom feed
From: olegrok@tarantool.org
To: tarantool-patches@dev.tarantool.org, alexander.turenko@tarantool.org
Cc: Oleg Babin <babinoleg@mail.ru>
Subject: [Tarantool-patches] [PATCH 0/2] Borrow encoding/decoding functions from cURL
Date: Thu,  9 Jan 2020 11:04:12 +0300	[thread overview]
Message-ID: <cover.1577881257.git.babinoleg@mail.ru> (raw)

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

             reply	other threads:[~2020-01-09  8:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-09  8:04 olegrok [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1577881257.git.babinoleg@mail.ru \
    --to=olegrok@tarantool.org \
    --cc=alexander.turenko@tarantool.org \
    --cc=babinoleg@mail.ru \
    --cc=tarantool-patches@dev.tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH 0/2] Borrow encoding/decoding functions from cURL' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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