160
160
headers = {"Content-Type": "application/x-git-upload-pack-request",
161
161
"Accept": "application/x-git-upload-pack-result",
163
req = Request('GET', url, accepted_errors=[200, 403, 404, 405],
165
163
(scheme, user, password, host, port,
168
166
# GitHub requires we lie.
169
167
# https://github.com/dulwich/dulwich/issues/562