Skip to content

Commit

Permalink
Fixes to previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
bblfish committed Mar 18, 2021
1 parent 3dac359 commit bdca6cc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/scala/run/cosy/http/RDFMediaTypes.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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]]
Expand Down

0 comments on commit bdca6cc

Please sign in to comment.