##// END OF EJS Templates
set contentType='application/json'...
set contentType='application/json' instead of skipping straight to headers avoids jQuery's crazy JSONP detection on `=.*??`, which was triggered because it assumed the contentType was unspecified, and thus should be guessed based on content.

File last commit:

r14009:6f019b30
r18352:8a12dee8
Show More
__main__.py
3 lines | 102 B | text/x-python | PythonLexer
if __name__ == '__main__':
from IPython.terminal.console import app
app.launch_new_instance()