1. #1
    Ext User Schyzzy's Avatar
    Join Date
    May 2009
    Posts
    5
    Vote Rating
    0
    Schyzzy is on a distinguished road

      0  

    Default Ajax and python simple server

    Ajax and python simple server


    Hi folks,
    I have a little problem using Ajax, so I'd be very grateful if anyone can help me.

    I'm using a little local server in python using wsgiref.simple_server module. So when I run my browser with http://localhost, my data is actually shown to me, but when I want to retrieve it by Ajax, it doesn't work.

    For now I'm just using a simple request

    Code:
    Ext.Ajax.request({
    	url: 'http://localhost/',
    	method: 'GET',
    	sucess: function(response, options){...}
    })
    Could anyone tell me what's wrong ?
    Thx a lot!

  2. #2
    Ext User Schyzzy's Avatar
    Join Date
    May 2009
    Posts
    5
    Vote Rating
    0
    Schyzzy is on a distinguished road

      0  

    Default


    Does anybody know the problem ?

  3. #3
    Ext User Joe's Avatar
    Join Date
    Apr 2007
    Posts
    243
    Vote Rating
    0
    Joe is on a distinguished road

      0  

    Default Check your sucess vs success

    Check your sucess vs success


    sucess should be success and you should try a full URL to get a test page, not load your full home page.
    Joseph Francis,
    CoreLan / Meeting Consultants

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi