We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb23acb commit d91209bCopy full SHA for d91209b
3 files changed
README.md
@@ -245,7 +245,7 @@ server.notfound("notfound.html")
245
```julia
246
server.useCORS(true)
247
```
248
-###Headers always
+### Headers always
249
You can add headers that will always be returned in each request
250
251
server.headersalways("Strict-Transport-Security","max-age=10886400; includeSubDomains; preload")
src/Merly.jl
@@ -3,8 +3,8 @@ import Base.|
3
4
using Sockets,
5
JSON,
6
-HTTP#,
7
-#XMLDict
+HTTP,
+XMLDict
8
9
include("base.jl")
10
include("mimetypes.jl")
src/allformats.jl
@@ -14,7 +14,7 @@ end
14
15
formats = Dict(
16
"application/json" => tojson
17
- #, "application/xml" => toxml
+ , "application/xml" => toxml
18
, "*/*" => toplanetext
19
, "text/plain" => toplanetext
20
)
0 commit comments