Skip to content

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

License

Notifications You must be signed in to change notification settings

agradl/jsonp-content-type-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published