MrJoes/sockjs-tornado — Issue #1: sockjs-tornado returns 500 for jsonp
Author: majek
Created: 2011-12-17 21:14:40+00:00
State: open

I'm sure you're already aware of the issue. If not, here is a request and reply. Btw, `origin:null` is strange :)
Request:

```
POST /sockjs/039/o2u4vkfc/jsonp_send?i=atngkvajf HTTP/1.1
Host: develop.tawlk.com
Connection: keep-alive
Content-Length: 278
Cache-Control: max-age=0
Origin: null
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.63 Safari/535.7
Content-Type: application/x-www-form-urlencoded
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: __utma=75050391.1293773682.1324090164.1324090164.1324090164.1; __utmz=75050391.1324090164.1.1.utmcsr=t.co|utmccn=(referral)|utmcmd=referral|utmcct=/ht8UNavd; JSESSIONID=dummy

d=%5B%22%7B%5C%22type%5C%22%3A%5C%22debug%5C%22%2C%5C%22text%5C%22%3A%5C%22Testing+echo%5C%22%2C%5C%22user_agent%5C%22%3A%5C%22Mozilla%2F5.0+%28Macintosh%3B+Intel+Mac+OS+X+10_7_2%29+AppleWebKit%2F535.7+%28KHTML%2C+like+Gecko%29+Chrome%2F16.0.912.63+Safari%2F535.7%5C%22%7D%22%5D
```

Reply:

```
HTTP/1.1 500 Internal Server Error
Access-Control-Allow-Origin: null
Access-Control-Allow-Credentials: true
Content-Type: text/html; charset=UTF-8
Content-Length: 0
Server: TornadoServer/2.1.1
```