##// 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:

r9174:3a2553df
r18352:8a12dee8
Show More
test_imports.py
23 lines | 509 B | text/x-python | PythonLexer
# encoding: utf-8
def test_import_coloransi():
from IPython.utils import coloransi
def test_import_generics():
from IPython.utils import generics
def test_import_ipstruct():
from IPython.utils import ipstruct
def test_import_PyColorize():
from IPython.utils import PyColorize
def test_import_rlineimpl():
from IPython.utils import rlineimpl
def test_import_strdispatch():
from IPython.utils import strdispatch
def test_import_wildcard():
from IPython.utils import wildcard