HTTP-methods and encoding

Vindex vindex9 at gmail.com
Sat Apr 7 13:02:39 UTC 2018


There is an error on some sites when using HTTP-methods 
(std.net.curl.get, std.net.curl.post):
std.encoding.EncodingException at std/encoding.d(2505): Unrecognized 
Encoding: utf8

Is there a beautiful way around it?
For the GET-method I use the download() and readText(). But for 
the POST-method I can not come up with an alternative solution.


More information about the Digitalmars-d-learn mailing list