Skip to content

Conversation

mattn
Copy link
Contributor

@mattn mattn commented Jun 29, 2012

If does not set content-type, it seems that can't post %. I got why this get fail from github support.

@zhuangya
Copy link

zhuangya commented Jul 9, 2012

+1 affected.

and a test case here:

 curl -i https://api.github.com/gists -H "Content-Type:application/json;Authorization: bearer TOKEN" -d ' { "description": "the description for this gist", "public": false, "files": { "file1.txt": { "content": "%" } } }' 
@simeonwillbanks
Copy link

+1

I can't create a gist from this file.

$ gist secrets.erb
Creating gist failed: 500 Internal Server Error

@zhuangya
Copy link

@mislav hey, check this issue please.

@zhuangya
Copy link

zhuangya commented Aug 7, 2012

cool!!
在 2012-8-7,下午10:54,☈king notifications@github.com 写道:

https://github.com/ConradIrwin/jist does this. See ConradIrwin/jist@75a5731


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants