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

smuxi: Add pastebin feature #210

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jamesaxl
Copy link
Contributor

@jamesaxl jamesaxl commented Feb 4, 2015

after you check the code and test it i am going to pish MakeFile and rebase

values["expire"] = expiry;
Session.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
var message = Session.UploadValues("http://paste.debian.net/./", "POST", values);
var url = Encoding.Default.GetString(message);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ASCII

@jamesaxl
Copy link
Contributor Author

jamesaxl commented Feb 5, 2015

the last chance for Webclient

expiry = "1800";

var servicePoint = ServicePointManager.FindServicePoint("http://fpaste.org/", Session.Proxy);
servicePoint.Expect100Continue = false;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does Console.WriteLine(ServicePointManager.Expect100Continue); after this code say?

@jamesaxl
Copy link
Contributor Author

jamesaxl commented Feb 5, 2015

I am sure True , but i am going to try

@jamesaxl
Copy link
Contributor Author

jamesaxl commented Feb 5, 2015

I just add ImagePasebin , if you want a pogress bar, there will be no problem

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 this pull request may close these issues.

2 participants