-
Notifications
You must be signed in to change notification settings - Fork 46
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
base: master
Are you sure you want to change the base?
Conversation
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); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ASCII
606ef74
to
be8843f
Compare
the last chance for Webclient |
expiry = "1800"; | ||
|
||
var servicePoint = ServicePointManager.FindServicePoint("http://fpaste.org/", Session.Proxy); | ||
servicePoint.Expect100Continue = false; |
There was a problem hiding this comment.
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?
I am sure True , but i am going to try |
10ca45c
to
449bf8d
Compare
I just add ImagePasebin , if you want a pogress bar, there will be no problem |
after you check the code and test it i am going to pish MakeFile and rebase