Hi,

Since 14 November 2008 16:00 my script that uses the Version 0 API to
update an identica account has been getting 400 Bad Request errors
when trying to log in.

Witness:

[aviation]$ python2.4
Python 2.4.4 (#2, Apr 29 2008, 08:45:14)
[GCC 3.3.5 (Debian 1:3.3.5-13)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> username="pfctdayelise"
>>> password=[redacted]
>>> import urllib, urllib2
>>> opener = urllib2.build_opener(urllib2.HTTPCookieProcessor())
>>> opener.open(urllib2.Request("http://identi.ca/main/login";,
... urllib.urlencode({"nickname": username, "password": password}))).read()
Traceback (most recent call last):
  File "<stdin>", line 2, in ?
  File "/usr/lib/python2.4/urllib2.py", line 364, in open
    response = meth(req, response)
  File "/usr/lib/python2.4/urllib2.py", line 471, in http_response
    response = self.parent.error(
  File "/usr/lib/python2.4/urllib2.py", line 402, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.4/urllib2.py", line 337, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.4/urllib2.py", line 480, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 400: Bad Request

Did something break? Is Version 0 API no longer valid? Or something else?

thanks
Brianna

-- 
They've just been waiting in a mountain for the right moment:
http://modernthings.org/
_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev

Reply via email to