FHEM Forum

FHEM - Entwicklung => FHEM Development => Thema gestartet von: Loredo am 18 September 2016, 22:13:36

Titel: HttpUtils: MIME Type image/bmp hinzufügen
Beitrag von: Loredo am 18 September 2016, 22:13:36
Hallo Rudi,


könntest du in HttpUtils.pm bitte den %ext2MIMEType Hash mit BMP ergänzen:


Zeile 12:


my %ext2MIMEType= qw{
  css   text/css
  gif   image/gif
  html  text/html
  ico   image/x-icon
  jpg   image/jpeg
  js    text/javascript
  pdf   application/pdf
  bmp   image/bmp
  png   image/png
  svg   image/svg+xml
  txt   text/plain


};



Damit kann ich dann den Cover Support in ONKYO_AVR aktivieren.




Danke & Gruß
Julian
Titel: Antw:HttpUtils: MIME Type image/bmp hinzufügen
Beitrag von: rudolfkoenig am 19 September 2016, 07:54:43
Habs eingefuegt am Anfang.
Titel: HttpUtils: MIME Type image/bmp hinzufügen
Beitrag von: Loredo am 19 September 2016, 09:09:10
Klasse, Dankeschön!


Gruß
Julian