Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
snetAT opened this issue Sep 3, 2024 · 2 comments
Open

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

snetAT opened this issue Sep 3, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@snetAT
Copy link

snetAT commented Sep 3, 2024

{
  "reqId": "8TN61bkJ7dZAohpNkyDt",
  "level": 3,
  "time": "2024-09-03T16:48:24+02:00",
  "remoteAddr": "1.2.3.4",
  "user": "[email protected]",
  "app": "PHP",
  "method": "PUT",
  "url": "/remote.php/dav/calendars/[email protected]/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"
  }
@rfc2822 rfc2822 added the bug Something isn't working label Sep 10, 2024
@JonathanTreffler
Copy link
Collaborator

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
Copy link
Author

snetAT commented Sep 14, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants