curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: / question

From: ToddAndMargo via curl-users <curl-users_at_cool.haxx.se>
Date: Fri, 31 Jul 2020 12:00:10 -0700

On 2020-07-31 08:04, Paul Gilmartin via curl-users wrote:
> On 2020-07-31, at 03:10:24, Daniel Stenberg via curl-users <curl-users_at_cool.haxx.se> wrote:
>>
>> On Thu, 30 Jul 2020, ToddAndMargo via curl-users wrote:
>>
>>> I have noticed that come web pages require a trailing slash and other do not to download. It is pretty easy to figure out which is which.
>>>
>>> I am just wondering about the behavior. Any words of wisdom?
>>
>> That's entirely up to the server to decide.
>>
> It may also concern how a client resolves relative links. That
> probably doesn't affect curl. RFC 1738 2.3 provides little
> guidance:
> Relative links are not described in this document.
>
> -- gil

I found it amusing that one site I used a ending slash
and it gave me back that I had to log in first. Removing
the slash, I got back what I wanted.
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-07-31