prisma-labs / get-graphql-schema

Fetch and print the GraphQL schema from a GraphQL HTTP endpoint. (Can be used for Relay Modern.)
669 stars 62 forks source link

feat: split any header keys #18

Closed alexesDev closed 4 years ago

alexesDev commented 6 years ago

Hi. I cannot get schema if header looks like this:

curl -H 'Cookie=_api_session=longstring'

This PR fix this issue.

knaeckeKami commented 4 years ago

Can this PR get some love? Currently, Basic Auth is not supported due to possible "=" chars in the encoded header...

Gowiem commented 4 years ago

@alexesDev Looks like this is good to merge but has a conflict. I'm running into this same issue so would appreciate the fix + merge -- Thanks!

alexesDev commented 4 years ago

My pr is opened two years ago. A lot of time has passed.