bitfireAT / nc_ext_dav_push

Nextcloud extension to support WebDAV-Push on calendars/address books
GNU Affero General Public License v3.0
28 stars 0 forks source link

file_get_contents(): Content-type not specified assuming #16

Open snetAT opened 2 months ago

snetAT commented 2 months ago
{
  "reqId": "8TN61bkJ7dZAohpNkyDt",
  "level": 3,
  "time": "2024-09-03T16:48:24+02:00",
  "remoteAddr": "1.2.3.4",
  "user": "user@example.net",
  "app": "PHP",
  "method": "PUT",
  "url": "/remote.php/dav/calendars/user@example.net/personal/D72539C2-6B3C-496A-B338-2569BFAD3014.ics",
  "message": "file_get_contents(): Content-type not specified assuming application/x-www-form-urlencoded at /var/www/html/apps/dav_push/lib/PushTransports/WebPushTransport.php#99",
  "userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36",
  "version": "29.0.6.1",
  "data": {
    "app": "PHP"
  }
JonathanTreffler commented 2 months ago

Thank you for the bug report. The https POST requests will be moved from file_get_contents to guzzlephp soon, then I will properly set the Content-type header. From my testing the functionality still works despite the error logged, is that also the case for you ?

snetAT commented 2 months ago

Thank you for the bug report. The https POST requests will be moved from file_get_contents to guzzlephp soon, then I will properly set the Content-type header. From my testing the functionality still works despite the error logged, is that also the case for you ?

So far i have not recognized any problems