Open cocoonkid opened 1 year ago
Hi @akshay288,
I'm running into the same issue while trying to implement the listener.
Chrome does a POST request with content-type: application/csp-report
The response has status code 415 Unsupported Media Type
.
I looked through the code, but my Rust knowledge is unfortunately non existent. Do you have any intentions to update? If not I will start looking for another solution.
Thanks!
Similar issue with Firefox. Firefox uses POST
with Content-Type: application/csp-report
and gets response HTTP/1.1 415 Unsupported Media Type
.
Is it correct to POST
the reports to the root path /
or should we be POST
ing the reports to some other endpoint?
Was anyone able to solve this?
Thanks for this piece of software.
How can I make it accept
application/reports+json ?
Currently the reply is always 415 Expected request with
Content-Type: application/json
When using curl it works immediately.