Introducing idnx · HTTPX

01-Jul-2021 2070
Let me spare you the work: here’s the ruby toolbox link. Yes, there have been many IDN-related gems over the years. Why yet another one?While researching on how to better support IDN domain names for httpx, I asked myself, “what does cURL do?”. After a session of “look at the source”, I found out that cURL uses libidn2 in Unix environments, while it uses the winAPI IdnToAscii on Windows.After that, I searched for a ruby library that would support at least one of the above. To my surprise, I didn’t find any. In fact, I found out that most of the idn-related gems from that ruby toolbox list haven’t received much attention for years, and most of them use libidn, the predecessor of libidn2, which does not support IDNA 2008 Punycode protocol. Also, none of them supports Windows.
Use coupon code:

RUBYONRAILS

to get 30% discount on our bundle!
Prepare for your next tech interview with our comprehensive collection of programming interview guides. Covering JavaScript, Ruby on Rails, React, and Python, these highly-rated books offer thousands of essential questions and answers to boost your interview success. Buy our 'Ultimate Job Interview Preparation eBook Bundle' featuring 2200+ questions across multiple languages. Ultimate Job Interview Preparation eBook Bundle