api gpg key URI is 404
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
When I query for my GPG keys, I get a collection containing a bunch of elements, which is fairly stock. I get stuff similar to:
"self_link": "https:/
"self_link": "https:/
$ curl https:/
Object: <Person at 0x13233950 paultag (Paul Tagliamonte)>, name: u'+gpg-keys'
Dang!
This behavior seems out of the norm when I compare it to other collection blobs.
< HTTP/1.1 404 Not Found
< Date: Thu, 01 Sep 2011 01:45:05 GMT
< Server: zope.server.http (HTTP)
< X-Powered-By: Zope (www.zope.org), Python (www.python.org)
< Content-Length: 77
< Content-Type: text/plain
< X-Cache: MISS from nutmeg.
< X-Cache-Lookup: HIT from nutmeg.
< Via: 1.0 nutmeg.
< Via: 1.1 api.launchpad.net
< Vary: Accept-Encoding
<
* Connection #0 to host api.launchpad.net left intact
* Closing connection #0
* SSLv3, TLS alert, Client hello (1):
Object: <Person at 0x13b59290 paultag (Paul Tagliamonte)>, name: u'+gpg-keys'%
I agree this is unusual. I'm not absolutely totally convinced Launchpad needs to return you the contents of the key there (rather than just giving the client the id) but giving a URI that doesn't resolve is in poor taste.
Did you have a specific motivating example for trying this?