Skip to content

Commit d91209b

Browse files
committed
add XMLDict
1 parent eb23acb commit d91209b

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ server.notfound("notfound.html")
245245
```julia
246246
server.useCORS(true)
247247
```
248-
###Headers always
248+
### Headers always
249249
You can add headers that will always be returned in each request
250250
```julia
251251
server.headersalways("Strict-Transport-Security","max-age=10886400; includeSubDomains; preload")

src/Merly.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import Base.|
33

44
using Sockets,
55
JSON,
6-
HTTP#,
7-
#XMLDict
6+
HTTP,
7+
XMLDict
88

99
include("base.jl")
1010
include("mimetypes.jl")

src/allformats.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ end
1414

1515
formats = Dict(
1616
"application/json" => tojson
17-
#, "application/xml" => toxml
17+
, "application/xml" => toxml
1818
, "*/*" => toplanetext
1919
, "text/plain" => toplanetext
2020
)

0 commit comments

Comments
 (0)