E2E4: aha, pres curl je kalendar prazdnej. zkousel jsem i http/1.1 a browserovej user agent, ale porad kalendar prazdnej. pritom z browseru (Safari) to normalne ulozi kalendar s eventama!
Z Chrome nebo Edge to ovsem ulozi prazdnej kalendar taky.
WTF
$ curl -v https://nyx.cz/events/ical/mine/..............
* Trying 5.59.97.42:443...
* Connected to nyx.cz (5.59.97.42) port 443 (#0)
* ALPN: offers h2
* ALPN: offers http/1.1
* CAfile: /etc/ssl/cert.pem
* CApath: none
* [CONN-0-0][CF-SSL] (304) (OUT), TLS handshake, Client hello (1):
* [CONN-0-0][CF-SSL] (304) (IN), TLS handshake, Server hello (2):
* [CONN-0-0][CF-SSL] (304) (IN), TLS handshake, Unknown (8):
* [CONN-0-0][CF-SSL] (304) (IN), TLS handshake, Certificate (11):
* [CONN-0-0][CF-SSL] (304) (IN), TLS handshake, CERT verify (15):
* [CONN-0-0][CF-SSL] (304) (IN), TLS handshake, Finished (20):
* [CONN-0-0][CF-SSL] (304) (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / AEAD-AES256-GCM-SHA384
* ALPN: server accepted h2
* Server certificate:
* subject: CN=nyx.cz
* start date: Apr 1 01:25:08 2023 GMT
* expire date: Jun 30 01:25:07 2023 GMT
* subjectAltName: host "nyx.cz" matched cert's "nyx.cz"
* issuer: C=US; O=Let's Encrypt; CN=R3
* SSL certificate verify ok.
* Using HTTP2, server supports multiplexing
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* h2h3 [:method: GET]
* h2h3 [:path: /events/ical/mine/..............]
* h2h3 [:scheme: https]
* h2h3 [:authority: nyx.cz]
* h2h3 [user-agent: curl/7.87.0]
* h2h3 [accept: */*]
* Using Stream ID: 1 (easy handle 0x13e00f800)
> GET /events/ical/mine/.............. HTTP/2
> Host: nyx.cz
> user-agent: curl/7.87.0
> accept: */*
>
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
< HTTP/2 200
< server: nginx
< date: Mon, 17 Apr 2023 08:50:46 GMT
< content-type: text/calendar
< content-length: 86
< x-response-time: 3.42ms
< x-content-type-options: nosniff
< permissions-policy: interest-cohort=()
< x-frame-options: SAMEORIGIN
< referrer-policy: same-origin
<
BEGIN:VCALENDAR
VERSION:2.0
PRODID:ICALENDAR-RS
CALSCALE:GREGORIAN
END:VCALENDAR
* Connection #0 to host nyx.cz left intact