Folks

Any idea why HTTPD Apache/2.4.62 (Unix) OpenSSL/3.0.14 rejects OPTIONS
* over secure HTTP/2 connections as invalid with this error message?

```
Request :scheme 'https' and path '*' do not allow creating an absolute
URL. Failing request with 400.
```

Such requests still work with HTTP/1.1 connections and with earlier
versions of HTTPD over secure HTTP/2 connections

I am perplexed. Have I missed anything in the spec? Any ideas?

Oleg

---
INFO  [][org.apache.hc.client5.testing.compatibility.ContainerImages] STDERR: 
[Mon Oct 14 17:19:25.360879 2024] [mpm_event:notice] [pid 1:tid 1] AH00489: 
Apache/2.4.62 (Unix) OpenSSL/3.0.14 configured -- resuming normal operations
...
DEBUG 
[httpclient-dispatch-1][org.apache.hc.client5.http.impl.async.HttpAsyncMainClientExec]
 ex-0000000001 send request OPTIONS * HTTP/1.1, null entity
DEBUG [httpclient-dispatch-1][org.apache.hc.client5.http.headers] c-0000000000 
>> :method: OPTIONS
DEBUG [httpclient-dispatch-1][org.apache.hc.client5.http.headers] c-0000000000 
>> :scheme: https
DEBUG [httpclient-dispatch-1][org.apache.hc.client5.http.headers] c-0000000000 
>> :authority: localhost:32769
DEBUG [httpclient-dispatch-1][org.apache.hc.client5.http.headers] c-0000000000 
>> :path: *
DEBUG [httpclient-dispatch-1][org.apache.hc.client5.http.headers] c-0000000000 
>> user-agent: Apache-HttpAsyncClient/5.5-alpha1-SNAPSHOT (Java/17.0.12)
DEBUG [httpclient-dispatch-1][org.apache.hc.client5.http2.frame] c-0000000000 
>> stream 1 frame: HEADERS (0x1); flags: END_STREAM END_HEADERS (0x5); length: 
71
INFO  [][org.apache.hc.client5.testing.compatibility.ContainerImages] STDERR: 
[Mon Oct 14 17:19:37.661417 2024] [http2:info] [pid 8:tid 107] [client 
172.18.0.1:59552] AH10379: h2_stream(8-0-1,IDLE): Request :scheme 'https' and 
path '*' do not allow creating an absolute URL. Failing request with 400.
DEBUG [httpclient-dispatch-1][org.apache.hc.client5.http2.frame] c-0000000000 
<< stream 1 frame: HEADERS (0x1); flags: END_HEADERS (0x4); length: 85
INFO  [][org.apache.hc.client5.testing.compatibility.ContainerImages] STDERR: 
172.18.0.1 - - [14/Oct/2024:17:19:37 +0000] "OPTIONS * HTTP/2.0" 400 226
DEBUG [httpclient-dispatch-1][org.apache.hc.client5.http.headers] c-0000000000 
<< :status: 400
DEBUG [httpclient-dispatch-1][org.apache.hc.client5.http.headers] c-0000000000 
<< date: Mon, 14 Oct 2024 17:19:37 GMT
DEBUG [httpclient-dispatch-1][org.apache.hc.client5.http.headers] c-0000000000 
<< server: Apache/2.4.62 (Unix) OpenSSL/3.0.14
DEBUG [httpclient-dispatch-1][org.apache.hc.client5.http.headers] c-0000000000 
<< content-length: 226
DEBUG [httpclient-dispatch-1][org.apache.hc.client5.http.headers] c-0000000000 
<< content-type: text/html; charset=iso-8859-1

---
INFO  [][org.apache.hc.client5.testing.compatibility.ContainerImages] STDERR: 
[Mon Oct 14 17:25:33.410886 2024] [mpm_event:notice] [pid 1:tid 
130102771014976] AH00489: Apache/2.4.54 (Unix) OpenSSL/1.1.1n configured -- 
resuming normal operations
...
DEBUG 
[httpclient-dispatch-1][org.apache.hc.client5.http.impl.async.HttpAsyncMainClientExec]
 ex-0000000001 send request OPTIONS * HTTP/1.1, null entity
DEBUG [httpclient-dispatch-1][org.apache.hc.client5.http.headers] c-0000000000 
>> :method: OPTIONS
DEBUG [httpclient-dispatch-1][org.apache.hc.client5.http.headers] c-0000000000 
>> :scheme: https
DEBUG [httpclient-dispatch-1][org.apache.hc.client5.http.headers] c-0000000000 
>> :authority: localhost:33408
DEBUG [httpclient-dispatch-1][org.apache.hc.client5.http.headers] c-0000000000 
>> :path: *
DEBUG [httpclient-dispatch-1][org.apache.hc.client5.http.headers] c-0000000000 
>> user-agent: Apache-HttpAsyncClient/5.5-alpha1-SNAPSHOT (Java/1.8.0_342)
DEBUG [httpclient-dispatch-1][org.apache.hc.client5.http2.frame] c-0000000000 
>> stream 1 frame: HEADERS (0x1); flags: END_STREAM END_HEADERS (0x5); length: 
73
INFO  [][org.apache.hc.client5.testing.compatibility.ContainerImages] STDERR: 
192.168.0.1 - - [14/Oct/2024:17:25:35 +0000] "OPTIONS * HTTP/2.0" 200 -
DEBUG [httpclient-dispatch-1][org.apache.hc.client5.http2.frame] c-0000000000 
<< stream 1 frame: HEADERS (0x1); flags: END_HEADERS (0x4); length: 61
DEBUG [httpclient-dispatch-1][org.apache.hc.client5.http.headers] c-0000000000 
<< :status: 200
DEBUG [httpclient-dispatch-1][org.apache.hc.client5.http.headers] c-0000000000 
<< content-length: 0
DEBUG [httpclient-dispatch-1][org.apache.hc.client5.http.headers] c-0000000000 
<< date: Mon, 14 Oct 2024 17:25:35 GMT
DEBUG [httpclient-dispatch-1][org.apache.hc.client5.http.headers] c-0000000000 
<< server: Apache/2.4.54 (Unix) OpenSSL/1.1.1n


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to