comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: HTTP with Simple Components: Status.Kind always File
Date: Wed, 19 Jul 2017 14:31:59 -0500
Date: 2017-07-19T14:31:59-05:00	[thread overview]
Message-ID: <okoc3f$q6s$1@franka.jacob-sparre.dk> (raw)
In-Reply-To: oko1kk$1pf7$1@gioia.aioe.org


"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> wrote in message 
news:oko1kk$1pf7$1@gioia.aioe.org...
> On 2017-07-19 18:09, Felix Krause wrote:
...
>> For example:
>>
>>     curl http://localhost:8088/
>>
>> This still yields a File as Status.Kind.
>
> I must see what is sent from the client in order to tell if it is a bug or 
> correct behavior. A command line tells nothing.

Right, because many programs read the schema to determine how to contact the 
server, then remove it (because it was used). Indeed, it's a bit unusual to 
pass the schema to be passed to a GET command (although it happens enough 
that my code in Ada Server is prepared to deal with it); for HTTP 1.1, the 
domain ("host") is passed separately so one typically only passes the URI 
path (and not the domain or schema).

                                            Randy.


  reply	other threads:[~2017-07-19 19:31 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-17 18:30 HTTP with Simple Components: Status.Kind always File Felix Krause
2017-07-17 20:59 ` Dmitry A. Kazakov
2017-07-19 16:09   ` Felix Krause
2017-07-19 16:33     ` Dmitry A. Kazakov
2017-07-19 19:31       ` Randy Brukardt [this message]
2017-07-19 21:13       ` Felix Krause
2017-07-20  8:57         ` Dmitry A. Kazakov
2017-07-20 13:35           ` Felix Krause
2017-07-20 13:57             ` Dmitry A. Kazakov
2017-07-20 14:19               ` Felix Krause
2017-07-20 20:29             ` Simon Wright
2017-07-20 20:57               ` Dmitry A. Kazakov
2017-07-20 21:12                 ` Felix Krause
2017-07-21  7:14                   ` Dmitry A. Kazakov
2017-07-21  7:06                 ` Simon Wright
2017-07-21  7:15                   ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox