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

Requests error out when the body is not json #81

Open
Malabarba opened this issue Jul 28, 2015 · 1 comment
Open

Requests error out when the body is not json #81

Malabarba opened this issue Jul 28, 2015 · 1 comment

Comments

@Malabarba
Copy link

Evaluate the following:

(tentacles.pulls/specific-pull "Malabarba" "lazy-map-clojure" 1 {:accept "application/vnd.github.VERSION.patch"})

You'll immediately get an exception because the :body is a patch file, and parse-safe tries to parse it as json.

Thanks for this great package!

@jjl
Copy link

jjl commented Mar 18, 2017

Hello,

I think I've squashed this one in my clojars-published fork

More info here:https://groups.google.com/forum/#!topic/clojure/UJetyHj-BPE

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

No branches or pull requests

2 participants