LibreCat / Dancer-Plugin-Catmandu-OAI

OAI-PMH provider backed by a searchable Catmandu::Store
http://librecat.org
2 stars 1 forks source link

every xml answer should have content_type application/xml #6

Closed nicolasfranck closed 9 years ago

nicolasfranck commented 9 years ago

cf. http://localhost:5000?verb=ListIdentifiers

Delivers XML, but content-type is text/html

Solution: put "content_type 'xml'" in function "render".