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.
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 8080/v1/ AUTH_test/ c1/ localhost: 8080/v1/ AUTH_test/ c1/ |127.0. 0.1|:8080. .. connected.
swift@u134:~/swift$ wget localhost:
--2015-10-14 16:40:32-- http://
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)
HTTP request sent, awaiting response... 401 Unauthorized
Username/Password Authentication Failed.