Cornices / cornice

Build Web Services with Pyramid.
https://cornice.readthedocs.io
Other
383 stars 149 forks source link

content_type parameter for resource does not work #572

Open Rogalek opened 2 years ago

Rogalek commented 2 years ago

Hello, I have a question. Is it possible to pass content_type parameter for resource or view like for Service?

I tried using like in documentation as a list or explicitly as a string, using accept, etc many combinations but none of them works. I never achieved to get 415 from request when I did not pass application/json header for example.

Could you help me with that?