Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jun 18th, 2013  |  syntax: None  |  size: 1.23 KB  |  views: 92  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  2. Accept-Charset: ISO-8859-9,utf-8;q=0.7,*;q=0.3
  3. Accept-Encoding: gzip,deflate,sdch
  4. Accept-Language: tr-TR,tr;q=0.8,en-US;q=0.6,en;q=0.4
  5. Cache-Control: max-age=0
  6. Content-Length: 269
  7. Content-Type: application/x-www-form-urlencoded
  8. Host: closure-compiler.appspot.com
  9. Origin: null
  10. Connection: keep-alive
  11. User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko)       Chrome/14.0.794.0 Safari/535.1
  12.        
  13. HttpWebRequest req = (HttpWebRequest)WebRequest.Create("http://closure-compiler.appspot.com/compile");
  14. req.Connection = "keep-alive";
  15. req.Headers.Add("Cache-Control", "max-age=0");
  16. req.Headers.Add("Origin","null");
  17. req.UserAgent = "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.794.0 Safari/535.1";
  18. req.ContentType = "application/x-www-form-urlencoded";
  19. req.Accept = "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8";
  20. req.Headers.Add("Accept-Encoding", "gzip,deflate,sdch");
  21. req.Headers.Add("Accept-Language", "tr-TR,tr;q=0.8,en-US;q=0.6,en;q=0.4");
  22. req.Headers.Add("Accept-Charset", " ISO-8859-9,utf-8;q=0.7,*;q=0.3");
  23. req.Method = "POST";
  24.  
  25. Stream reqStr = req.GetRequestStream();
  26.        
  27. GET <uri> CrLf
clone this paste RAW Paste Data