Support HEAD requests to the raw API
Created by: chrismwendt
This allows language servers to quickly determine whether or not the given repository exists on the Sourcegraph instance without needing to construct a Sourcegraph-specific GraphQL query. cc @felixfbecker this might be useful for TypeScript too.
See https://github.com/sourcegraph/go-langserver/pull/345#discussion_r240768252