Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 376 Bytes

README.md

File metadata and controls

11 lines (9 loc) · 376 Bytes

jsonp-content-type-example

Demonstrating how jsonp served with an incorrect content/type fails with the X-Content-Type-Options:nosniff header

Running the example (assuming mac OSX)

git clone https://github.com/agradl/jsonp-content-type-example
cd jsonp-content-type-example
./run

check your console to see how the bad jsonp response is rejected by the browser