The CLI doesn't seem to correctly use coreapi's authentication anymore with the latest coreapi libary.
If I use coreapi cli 1.0.6 and coreapi 2.0.0, the authentication header is being sent (Not my real creds or domain):
$ coreapi get https://xxx.xxx.xxx/ --debug
> GET / HTTP/1.1
> Accept-Encoding: gzip, deflate
> Connection: keep-alive
> Accept: application/coreapi+json, application/vnd.coreapi+json, */*
> Authorization: Basic dG9tOmE=
But if I switch to the latest coreapi 2.3.0, it doesn't get sent:
$ coreapi get https://xxx.xxx.xxx/ --debug
> GET / HTTP/1.1
> Accept-Encoding: gzip, deflate
> Connection: keep-alive
> Accept: application/coreapi+json, application/vnd.coreapi+json, */*
> Host: xxx.xxx.xxx
> User-Agent: coreapi
< 403 Forbidden
For the moment, I'm just reverting to coreapi 2.0.0 as a workaround.
The CLI doesn't seem to correctly use coreapi's authentication anymore with the latest coreapi libary.
If I use coreapi cli 1.0.6 and coreapi 2.0.0, the authentication header is being sent (Not my real creds or domain):
But if I switch to the latest coreapi 2.3.0, it doesn't get sent:
For the moment, I'm just reverting to coreapi 2.0.0 as a workaround.