• Re: geturl

    From Schelte@21:1/5 to saito on Thu May 22 23:20:40 2025
    On 22/05/2025 21:44, saito wrote:
    Does anyone have a version of geturl with a few bells and whistles? Like following redirects, going through proxies, handling custom headers, uploading a file, etc? My use case will involve downloading which may
    include a file, and uploading content (i.e., file) with extra headers.

    Take a look at my www project: https://chiselapp.com/user/schelte/repository/www. It does at least some
    of what you ask about. Let me know if there is generally useful
    functionality you are missing.


    Schelte.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rich@21:1/5 to saito on Thu May 22 22:33:56 2025
    saito <saitology9@gmail.com> wrote:
    Does anyone have a version of geturl with a few bells and whistles? Like following redirects, going through proxies, handling custom headers, uploading a file, etc? My use case will involve downloading which may
    include a file, and uploading content (i.e., file) with extra headers.

    tclcurl-fa (https://github.com/flightaware/tclcurl-fa) likely exposes
    all of those needs, but you do need to be able to compile a C
    extension in order to use it.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rich@21:1/5 to saito on Fri May 23 18:28:42 2025
    saito <saitology9@gmail.com> wrote:
    On 5/22/2025 6:33 PM, Rich wrote:


    tclcurl-fa (https://github.com/flightaware/tclcurl-fa) likely exposes
    all of those needs, but you do need to be able to compile a C
    extension in order to use it.

    Thank you! I will check out www first since it has no requirements.

    Interesting fact I just discovered: curl is now part of the MS
    Windows install. So if you are on a recent version of Windows, you
    can just issue curl commands on the command shell.

    Ah, this is interesting news. I'll have to check on $job's W11 install
    to see if it includes a 'curl' now.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Schelte@21:1/5 to saito on Sun Jun 1 13:56:26 2025
    On 31/05/2025 22:36, saito wrote:
    I am sure I am missing something here with this simple example but what?

    % package req www
    2.6

    % www get https://www.yahoo.com
    too many attempts

    I have been testing the package with tls 1.8. I guess you are using tls
    1.7 instead. There was a bug in adapting the command line arguments for
    that version. That has now been fixed in version 2.7 of the www package.


    Thanks,
    Schelte.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Schelte@21:1/5 to saito on Sun Jun 1 14:02:26 2025
    On 31/05/2025 21:17, saito wrote:
    I just installed it and I am going through the docs now. It seems to be
    light on examples and use cases. It would be helpful if you could share
    some scripts using it.

    The test suite exercises different use cases of the commands. You can
    take a look there for some usage examples.


    Schelte.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)