On Thu, 3 Sep 2020 14:52:44 +0300
oleg wrote:
Hi!
Thanks for looking into this.
> The ns_http command does not convert the received data, so we must use
> the 'encoding convertfrom' command.
I see you added the Ns_GetTypeEncoding(cType) test for non-binary content
and then use Tcl_ExternalToUt
Hi Oleg,
since HTTP has means to include encodings, which NaviServer uses acting
as a server, it should behave the same way when acting as a client and
not burdening the application to dig into the content-type charsets
to call the right conversion stuff.
A "-binary" flag still makes sense in ca
On Fri, 4 Sep 2020 10:31:53 +0200
Zoran Vasiljevic wrote:
> Hi!
Hi!
> What is the purpose of signalling the binary content way up from the
> command line? For this we have the Ns_IsBinaryMimeType(cType) test.
>
Sometimes we have to deal with misconfigured legacy sites, which transmit d
On Fri, 4 Sep 2020 11:38:53 +0200
Gustaf Neumann wrote:
> since HTTP has means to include encodings, which NaviServer uses
> acting as a server, it should behave the same way when acting as a
> client and not burdening the application to dig into the content-type
> charsets to call the right co
On Fri, 4 Sep 2020 13:55:05 +0200
Zoran Vasiljevic wrote:
> Does the -binary option alone solves your problem?
Yes. In fact, I have been using -binary for two years.
Oleg.
___
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
htt
On Fri, 4 Sep 2020 15:07:32 +0300
oleg wrote:
> Yes. In fact, I have been using -binary for two years.
OK. I see no problem with that. Actually I cannot see
any other way of handling such cases, to be honest.
If this is still open when I come back from holidays
in about two weeks, I will put t