Comment 4 for bug 1506116

Revision history for this message
Alistair Coles (alistair-coles) wrote :

As a final step to the example above, now set web-listings to true and we get a 401, which is correct, but 404 when web-listings is false is not good.

# this is correct - when web-listings is true we get a 401...

swift@u134:~/swift$ swift post -m 'web-listings: true' c1
swift@u134:~/swift$ wget localhost:8080/v1/AUTH_test/c1/
--2015-10-14 16:40:32-- http://localhost:8080/v1/AUTH_test/c1/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 401 Unauthorized

Username/Password Authentication Failed.