WeihanLi/dotnet-httpie

Unexpected header attach

Closed this issue · 1 comments

Describe the bug

 dotnet-http https://auth.docker.io/token X-Docker-Token:true service==registry.docker.io scope=="repository:weihanli/mdni
ce:pull" -v
GET /token?service=registry.docker.io&scope=repository:weihanli/mdnice:pull HTTP/1.1
Host: auth.docker.io
Schema: https
scope==repository: weihanli/mdnice:pull
User-Agent: dotnet-HTTPie/0.6.1
X-Docker-Token: true
X-dotnet-HTTPie-RequestTimestamp: 10/16/2022 11:06:53 +08:00                                                                                                                                                                                                                            HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Date: Sun, 16 Oct 2022 03:06:54 GMT
Strict-Transport-Security: max-age=31536000
Transfer-Encoding: chunked
X-dotnet-HTTPie-Duration: 1607.883ms
X-dotnet-HTTPie-ResponseTimestamp: 10/16/2022 11:06:54 +08:00
x-trace-id: 2ff2273a606f8514030862a3ac9c3bfd

scope==repository: weihanli/mdnice:pull in header is unexpected