opencitations / api-coci

REST API specification for COCI
1 stars 0 forks source link

response Content-Type header doesn't seem to change with format parameter #3

Closed sckott closed 5 years ago

sckott commented 5 years ago
curl -v 'http://opencitations.net/index/coci/api/v1/citations/10.1108/jd-12-2013-0166?format=csv'
< HTTP/1.1 200 OK
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Credentials: true
< Content-Type: application/json
< Content-Length: 2135
< Date: Fri, 01 Feb 2019 17:16:22 GMT
< Server: lighttpd/1.4.45

has Content-Type: application/json instead of Content-Type: text/csv

essepuntato commented 5 years ago

Hi @sckott

Thanks for the pointer! Just solved :-)

sckott commented 5 years ago

great, thanks!