Comment 1 for bug 1081943

Revision history for this message
Dolph Mathews (dolph) wrote : Re: Token validation using HEAD method has some bugs

Not sure when, but the first issue described above appears to have been fixed:

$ curl -v -X HEAD -H "x-auth-token: ADMIN" http://127.0.0.1:35357/v2.0/tokens/1dedbe6f49c14a5a82f3cc7765317c2b
* About to connect() to 127.0.0.1 port 35357 (#0)
* Trying 127.0.0.1...
* connected
* Connected to 127.0.0.1 (127.0.0.1) port 35357 (#0)
> HEAD /v2.0/tokens/1dedbe6f49c14a5a82f3cc7765317c2b HTTP/1.1
> User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8r zlib/1.2.5
> Host: 127.0.0.1:35357
> Accept: */*
> x-auth-token: ADMIN
>
< HTTP/1.1 204 No Content
< Vary: X-Auth-Token
< Content-Length: 0
< Date: Wed, 06 Mar 2013 17:17:15 GMT
<
* Connection #0 to host 127.0.0.1 left intact
* Closing connection #0