• Nick Thomas's avatar
    Make git lfs for push mirrors work to GitHub.com · cad4514f
    Nick Thomas authored
    There are two changes required:
    
    * Add an Accept: application/vnd.git-lfs+json header to batch requests
    * Support the verify action
    
    Without the former, GitHub (but not GitLab) responds with a 406 HTTP
    response to the batch request. With it, GitHub responds with a spec
    indicating that `verify` should be used.
    cad4514f
client_spec.rb 6.64 KB