comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: HTTP with Simple Components: Status.Kind always File
Date: Thu, 20 Jul 2017 22:57:35 +0200
Date: 2017-07-20T22:57:35+02:00	[thread overview]
Message-ID: <okr5ft$vpp$1@gioia.aioe.org> (raw)
In-Reply-To: lyh8y6n96n.fsf@pushface.org

On 2017-07-20 22:29, Simon Wright wrote:
> Felix Krause <contact@flyx.org> writes:
> 
>> Now, my problem is that this argument is quite far away from
>> reality. I tested various HTTP client
>> implementations (curl, Chrome, Firefox), and every one, when I tell it to get
>>
>>     http://example.com/?key=value
>>
>> sends the following Request-Line:
>>
>>     GET /?key=value HTTP/1.1
>>
>> So, HTTP clients do not seem to respect this part of the HTTP
>> specification.
> 
> The RFC that Dmitri quotes is for URIs. You want the one that defines
> the HTTP protocol, currently RFC7230 - see section 3, Message Format.
> https://tools.ietf.org/html/rfc7230#section-3

So, is it OK to always recognize query part in the path. Correct?

What is the scheme by default? http? None?

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

  reply	other threads:[~2017-07-20 20:57 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
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 [this message]
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