Skip to content

Instantly share code, notes, and snippets.

@paulrademacher
paulrademacher / jquery_abort_triggers_error_handler.py
Created October 9, 2012 15:22
jQuery abort() method on ajax/xhr objects triggers the error handler
import tornado.ioloop
import tornado.web
html = """
<html>
<head>
<script src="http://code.jquery.com/jquery-1.7.2.min.js"
type="text/javascript"></script>
<script>