Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 Dec. 15, 2010 04:48:02

sami n.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

urllib .urlopen problem


my django site was running successfully but now it s giving me the
following error
IO ERROR (11004, 'getaddrinfo failed'
my view looks like this and i am running in proxy settings but i
included that in my code

proxie = {'http': 'http://192.168.1.100:8080'}
word = request.GET

message=urllib.urlopen('http://m.broov.com/wap/di/sub?word='+word+'&type=00submit=Submit',)
socket.setdefaulttimeout(1120)
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
return HttpResponse(message)
ANd it would be gracefull if someone help me to build web service
using RESTfull to run server

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

Board footer

Moderator control

Enjoy the 17th of August
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support