AJAX POST handler causing “uncaught exception”

前端 未结 2 667
抹茶落季
抹茶落季 2020-12-09 19:55

So I\'ve been banging my head against my desk for a few hours on this one and i\'m not getting anywhere so help would really be appreciated.

The code below has two j

2条回答
  •  遥遥无期
    2020-12-09 20:18

    Thx for posting the solution. Similarly banged my head for a while trying to solve a similar problem with NS_ERROR_NOT_AVAILABLE without luck. Useful for for people using Django <--> Javascript to do XMLHttpRequests as well. On the Django side, there is an

       error: [Errno 32] Broken pipe 
    

    ...that corresponds with the NS_ERROR that appears in the firebug console for the JS failure.(googleBait) It's hard to know where to start tracing the problem - server side or client side.

    Thx again.

提交回复
热议问题