Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

non-200 http statuses #2

Open
cben opened this issue May 21, 2019 · 0 comments
Open

non-200 http statuses #2

cben opened this issue May 21, 2019 · 0 comments

Comments

@cben
Copy link
Owner

cben commented May 21, 2019

The repo contains some index.json files with response bodies that got non-200 http statuses (301, 307, 403, 404 500, 503).
That's bad for direct use as "mock api" via GitHub Pages, as they'll be served as 200.

$ find -name index.json | while read f
      if ag '^HTTP/.*' (dirname $f)/headers.txt | grep -v 200
          echo $f
      end
  end

HTTP/2 403 
./openshift-origin-v3.6.0/controllers/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/swagger-ui/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/readyz/ping/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/readyz/autoregister-completion/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/readyz/crd-informer-synced/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/readyz/poststarthook/kube-apiserver-clientCA-reload/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/readyz/poststarthook/apiservice-wait-for-first-sync/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/readyz/poststarthook/scheduling/bootstrap-system-priority-classes/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/readyz/poststarthook/start-apiextensions-informers/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/readyz/poststarthook/openshift.io-requestheader-reload/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/readyz/poststarthook/apiservice-registration-controller/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/readyz/poststarthook/kube-apiserver-autoregistration/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/readyz/poststarthook/quota.openshift.io-clusterquotamapping/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/readyz/poststarthook/generic-apiserver-start-informers/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/readyz/poststarthook/start-kube-apiserver-admission-initializer/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/readyz/poststarthook/bootstrap-controller/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/readyz/poststarthook/aggregator-reload-proxy-client-cert/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/readyz/poststarthook/apiservice-openapi-controller/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/readyz/poststarthook/start-apiextensions-controllers/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/readyz/poststarthook/kube-apiserver-requestheader-reload/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/readyz/poststarthook/start-kube-aggregator-informers/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/readyz/poststarthook/crd-discovery-available/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/readyz/poststarthook/openshift.io-startkubeinformers/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/readyz/poststarthook/rbac/bootstrap-roles/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/readyz/poststarthook/apiservice-status-available-controller/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/readyz/poststarthook/ca-registration/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/readyz/poststarthook/openshift.io-clientCA-reload/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/readyz/etcd/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/readyz/terminating/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/readyz/log/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/apis/security.openshift.io/v1/securitycontextconstraints/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/apis/quota.openshift.io/v1/clusterresourcequotas/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/apis/authorization.openshift.io/v1/rolebindingrestrictions/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/healthz/ping/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/healthz/autoregister-completion/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/healthz/crd-informer-synced/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/healthz/poststarthook/kube-apiserver-clientCA-reload/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/healthz/poststarthook/apiservice-wait-for-first-sync/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/healthz/poststarthook/scheduling/bootstrap-system-priority-classes/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/healthz/poststarthook/start-apiextensions-informers/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/healthz/poststarthook/openshift.io-requestheader-reload/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/healthz/poststarthook/apiservice-registration-controller/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/healthz/poststarthook/kube-apiserver-autoregistration/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/healthz/poststarthook/quota.openshift.io-clusterquotamapping/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/healthz/poststarthook/generic-apiserver-start-informers/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/healthz/poststarthook/start-kube-apiserver-admission-initializer/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/healthz/poststarthook/bootstrap-controller/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/healthz/poststarthook/aggregator-reload-proxy-client-cert/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/healthz/poststarthook/apiservice-openapi-controller/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/healthz/poststarthook/start-apiextensions-controllers/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/healthz/poststarthook/kube-apiserver-requestheader-reload/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/healthz/poststarthook/start-kube-aggregator-informers/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/healthz/poststarthook/crd-discovery-available/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/healthz/poststarthook/openshift.io-startkubeinformers/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/healthz/poststarthook/rbac/bootstrap-roles/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/healthz/poststarthook/apiservice-status-available-controller/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/healthz/poststarthook/ca-registration/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/healthz/poststarthook/openshift.io-clientCA-reload/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/healthz/etcd/index.json
HTTP/2 403 
./openshift-v4.1.0-rc.3/healthz/log/index.json
HTTP/1.1 403 Forbidden
./openshift-origin-v1.3.0/controllers/index.json
HTTP/2 403 
./openshift-origin-v3.7.0/swagger-2.0.0.pb-v1/index.json
HTTP/2 403 
./openshift-origin-v3.7.0/controllers/index.json
HTTP/2 403 
./openshift-origin-v3.7.0/swagger-2.0.0.json/index.json
HTTP/2 403 
./openshift-origin-v3.7.0/swagger-2.0.0.pb-v1.gz/index.json
HTTP/2 404 
./kubernetes-v1.10.0/version/openshift/index.json
HTTP/2 307 
HTTP/2 503 
./kubernetes-v1.9.0/ui/index.json
HTTP/1.1 403 Forbidden
./openshift-origin-v1.4.0/controllers/index.json
HTTP/2 500 
./openshift-origin-v3.9.0/healthz/index.json
HTTP/2 403 
./openshift-origin-v3.9.0/swagger-2.0.0.json/index.json
HTTP/2 403 
./openshift-origin-v3.9.0/swagger-2.0.0.pb-v1.gz/index.json
HTTP/2 307 
HTTP/2 503 
./kubernetes-v1.7.0/ui/index.json
HTTP/2 403 
./openshift-origin-v1.5.0/controllers/index.json
HTTP/2 403 
./openshift-origin-v3.8.0/controllers/index.json
HTTP/2 403 
./openshift-origin-v3.8.0/swagger-2.0.0.json/index.json
HTTP/2 403 
./openshift-origin-v3.8.0/swagger-2.0.0.pb-v1.gz/index.json
HTTP/1.1 301 Moved Permanently
./openshift-origin-v1.1.1/apis/extensions/index.json
HTTP/1.1 403 Forbidden
./openshift-origin-v1.1.1/controllers/index.json
HTTP/1.1 403 Forbidden
./openshift-origin-v1.1.1/version/openshift/index.json
HTTP/2 307 
HTTP/2 503 
./kubernetes-v1.8.0/ui/index.json
HTTP/1.1 403 Forbidden
./openshift-origin-v1.2.0/controllers/index.json
HTTP/1.1 403 Forbidden
./openshift-origin-v1.2.0/version/openshift/index.json
HTTP/2 403 
./openshift-origin-v3.10.0/swagger-2.0.0.json/index.json
HTTP/2 403 
./openshift-origin-v3.10.0/swagger-2.0.0.pb-v1.gz/index.json
HTTP/2 307 
HTTP/2 301 
./kubernetes-v1.3.0-alpha.3-838-minikube-v0.1.0/ui/index.json
HTTP/2 404 
./kubernetes-v1.3.0-alpha.3-838-minikube-v0.1.0/version/openshift/index.json
HTTP/2 403 
./openshift-origin-v3.11.0/swagger-2.0.0.json/index.json
HTTP/2 403 
./openshift-origin-v3.11.0/swagger-2.0.0.pb-v1.gz/index.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant