Closed lukehedger closed 4 years ago
Adds support for Cookie headers.
So, this example would now work:
get-graphql-schema --header "Cookie: biscuit=123" ENDPOINT_URL > schema.graphql
This previously would not work as the header string was split on = which is found in the actual value of the cookie.
=
Now the header string is split on :, which is a common convention in other tools.
:
You may wish to combine this with the basic idea of #18; That is, only match on the first colon in the header, and consume the rest as being the value.
Adds support for Cookie headers.
So, this example would now work:
This previously would not work as the header string was split on
=
which is found in the actual value of the cookie.Now the header string is split on
:
, which is a common convention in other tools.