Using "content-type" or "Content-Type" header in API REST

Hi

(Nuxeo 6.0)

I observe that sometimes Nuxeo is happy with a “content-type” entry in the header and sometimes it is happy with “Content-Type”

Is there a clear rule ?

examples:

id/

whereas

group/search?q=

Can you indicate the rule (or please select ONE policy)

Regards Christian

0 votes

-1 answers

1628 views

ANSWER

Thanks for this helpful answer

Christian

03/31/2016

Thanks for this helpful answer

Christian

03/31/2016

Thanks for this helpful answer

Christian

03/31/2016



Thanks for this helpful answer

Christian

0 votes



HTTP headers are case-insensitive, so it doesn't matter.

0 votes