Comment on Why does Google prepend while(1); to their JSON responses?Comments−maambmb9yI feel like the browser could use the Content-Type header to check whether the response is JSON or actual executable javascript - throwing an error if the former
Comments
I feel like the browser could use the Content-Type header to check whether the response is JSON or actual executable javascript - throwing an error if the former