From bdca6ccec37f41103683c0138d1805fae2b8c182 Mon Sep 17 00:00:00 2001 From: Henry Story Date: Thu, 18 Mar 2021 12:09:59 +0100 Subject: [PATCH] Fixes to previous commit. --- src/main/scala/run/cosy/http/RDFMediaTypes.scala | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/scala/run/cosy/http/RDFMediaTypes.scala b/src/main/scala/run/cosy/http/RDFMediaTypes.scala index 4ca33b0..187c6ef 100644 --- a/src/main/scala/run/cosy/http/RDFMediaTypes.scala +++ b/src/main/scala/run/cosy/http/RDFMediaTypes.scala @@ -7,7 +7,7 @@ package run.cosy.http **/ object RDFMediaTypes { - import akka.http.scaladsl.model.MediaType + import akka.http.scaladsl.model.{MediaType,Uri} import akka.http.scaladsl.model.HttpCharsets.{`UTF-8`,`US-ASCII`} /** see [[https://www.w3.org/TR/rdf-syntax-grammar/#section-MIME-Type RDF1.1 XML Syntax]] spec and @@ -64,8 +64,7 @@ object RDFMediaTypes { */ val `text/n3` = MediaType.customWithFixedCharset( "text","n3", `UTF-8`, - fileExtensions = "n3", - params = + fileExtensions = List("n3") ) /** * see [[https://www.w3.org/TR/json-ld/#application-ld-json JSON-LD 1.1]]