shinypb / openkeyval

OpenKeyval.org is a completely open key-value data store, exposed as a drop-dead simple web service. The goal is to make this a very easy way to persist data in web applications.
http://openkeyval.org
Other
136 stars 35 forks source link

Server doesn't respond to HEAD requests #11

Closed osbolab closed 13 years ago

osbolab commented 13 years ago

conn = HTTPConnection('api.openkeyval.org:80') conn.request('HEAD', '/hello') res = conn.getresponse()

400 Bad Request [('date', 'Fri, 05 Nov 2010 18:39:20 GMT'), ('connection', 'close'), ('x-powered-by', 'PHP/5.2.6-1+lenny9'), ('content-type', ''), ('server', 'Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch')]

Not sure if this is entirely necessary, but perhaps to check if a key exists without downloading it?

dustball commented 13 years ago

Implemented with 4858099f14ceb467e1517ef03176ada4615da8c9