Should it be expecting the KML mime type? https://developers.google.com/kml/documentation/kml_tut#kml_server