Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Curlie not formating Json if it starts with a square bracket #18

Closed
mbodock opened this issue May 5, 2020 · 1 comment · Fixed by #19
Closed

Curlie not formating Json if it starts with a square bracket #18

mbodock opened this issue May 5, 2020 · 1 comment · Fixed by #19

Comments

@mbodock
Copy link
Contributor

mbodock commented May 5, 2020

Expected:

$ ./curlie localhost:8080
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Date: Tue, 05 May 2020 09:51:37 GMT
Content-Length: 41

[
    {
        "key": "value"
    },
    {
        "key": "another value"
    }
]

Got:

$ curlie localhost:8080
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Date: Tue, 05 May 2020 09:49:47 GMT
Content-Length: 41

[{"key":"value"},{"key":"another value"}]
@Weizilla
Copy link

Will there be a new release in Homebrew cask to include this fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants