mastodon.world is one of the many independent Mastodon servers you can use to participate in the fediverse.
Generic Mastodon server for anyone to use.

Server stats:

8.4K
active users

#urlencode

0 posts0 participants0 posts today
Habr<p>Первый http сервер на С++, заметки для новичков</p><p>Решил написать простенькую статейку по следам реализации небольшой программки на С++ под Виндоус, которая содержит в себе TCP сервер. Мы получаем от клиента http запрос. Соединение не защищенное. На чем реализован клиент нам неизвестно: может на php (curl,socket,stream_contex_create,...), может на js (ajax), вообще может быть на чем угодно. Надо задача реализовать http парсинг запроса и контента, выполнить задание (на каком-то подключенном к серверу оборудовании) и ответить клиенту о результате. Примечание: автор реализует http сервер на устаревшем Qt4, используем QTcpServer. Но для http сервера это не принципиально.</p><p><a href="https://habr.com/ru/articles/910222/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">habr.com/ru/articles/910222/</span><span class="invisible"></span></a></p><p><a href="https://zhub.link/tags/ContentType" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ContentType</span></a> <a href="https://zhub.link/tags/urlencode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>urlencode</span></a> <a href="https://zhub.link/tags/json" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>json</span></a> <a href="https://zhub.link/tags/base64" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>base64</span></a> <a href="https://zhub.link/tags/hex" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>hex</span></a></p>
John Gordon 📷<p>Yeah, that's not necessarily helpful... Now I have to split the path into elements, encode each element and then join them back together again.</p><p><a href="https://mastodon.social/tags/dev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dev</span></a> <a href="https://mastodon.social/tags/golang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>golang</span></a> <a href="https://mastodon.social/tags/urlencode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>urlencode</span></a></p>
Aral Balkan<p>How to URL encode (percent encode) a string in Vala (GLib):</p><p>Uri.escape_string ("Hello, world!");</p><p>// Hello%2C%20world%21</p><p>To decode:</p><p>Uri.unescape_string ("Hello%2C%20world%21");</p><p>// Hello, World!</p><p>(Documenting it as it was not easy to find with a cursory web search.)</p><p><a href="https://mastodon.ar.al/tags/vala" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vala</span></a> <a href="https://mastodon.ar.al/tags/urlencode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>urlencode</span></a> <a href="https://mastodon.ar.al/tags/urldecode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>urldecode</span></a> <a href="https://mastodon.ar.al/tags/url" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>url</span></a> <a href="https://mastodon.ar.al/tags/uri" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>uri</span></a> <a href="https://mastodon.ar.al/tags/escape" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>escape</span></a> <a href="https://mastodon.ar.al/tags/unescape" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>unescape</span></a> <a href="https://mastodon.ar.al/tags/encode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>encode</span></a> <a href="https://mastodon.ar.al/tags/decode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>decode</span></a> <a href="https://mastodon.ar.al/tags/glib" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>glib</span></a></p>