码迷,mamicode.com
首页 >  
搜索关键字:wget 400 bad request    ( 28733个结果
wcf文件上传时碰到的配置问题
1.远程服务器返回了意外相应:(413) Request Entity Too Large修改客户端配置maxReceivedMessageSize="2147483647" 并在服务端修改webconfig,加入binding节...
分类:其他好文   时间:2014-05-26 23:10:58    阅读次数:370
HttpWebRequest
HttpWebRequest request; HttpWebResponse response; ASCIIEncoding encoding = new ASCIIEncoding(); request = WebRequest...
分类:Web程序   时间:2014-05-26 15:49:01    阅读次数:234
浏览器与服务器间的交互(客服端 <---> 服务器)
浏览器与服务器间的交互(客服端 服务器) 请求--->处理--->响应 对类HttpContext 内部成员的使用 例如 :Request 、Response 、Cookie 、 Session 、GetSection . . .///...
分类:其他好文   时间:2014-05-26 12:31:20    阅读次数:273
Servlet的getContextPath(), getServletPath(), getRequestURI(), getRealPath("/")
假定web application 名称为news,你在浏览器中输入请求路径: http://localhost:8080/news/main/list.jsp 则执行下面向行代码后打印出如下结果:1、 System.out.println(request.getContextPath()); 打印...
分类:其他好文   时间:2014-05-24 08:05:54    阅读次数:264
linux centos cli all proxy
linux centos 下代理http、https、ftp全局使用代理:export http_proxy=http://host:port/export https_proxy=http://host:port/export ftp_proxy=http://host:port/使用wget按需...
分类:系统相关   时间:2014-05-24 07:53:34    阅读次数:420
asp.net或javascript判断是否手机访问
///  /// 判断手机用户UserAgent ///  ///  private bool IsMobile() {          HttpContext context = HttpContext.Current;     if (context != null)     {         HttpRequest request = context.Request;         i...
分类:移动开发   时间:2014-05-23 01:06:25    阅读次数:258
0521.使用UIWebView加载来自NetWork、Project、Documents的html、javascript文件
话不多少,直接上代码,思路还是挺简单的。 UIWebView *webView = [[UIWebView alloc]initWithFrame:self.view.frame]; // HTML文件来自Project // 步骤:path - > url - > request with url - > loadRequest NSStrin...
分类:编程语言   时间:2014-05-22 23:53:05    阅读次数:442
linux下多线程下载工具axel的编译安装
axel是Linux命令行下多线程的下载工具,支持断点续传,速度通常情况下是Wget的几倍官方主页:http://axel.alioth.debian.org/源码下载:#curl-Ohttp://pkgs.fedoraproject.org/repo/pkgs/axel/axel2.4.tar.gz/a2a762fce0c96781965c8f9786a3d09d/axel-2.4.tar.gz编译安装:#tar-xvf..
分类:编程语言   时间:2014-05-22 17:41:24    阅读次数:521
TI C66x DSP硬件信号量 - 3(Direct Semaphore)
Direct request is the simplest method used to request a semaphore. The request behaves as an atomic read and set operation. The result of a request is either to grant the semaphore to the requesting...
分类:其他好文   时间:2014-05-22 17:21:38    阅读次数:517
Asp.Net页面生命周期--转发(学海无涯)
一.什么是Asp.Net页面生命周期当我们在浏览器地址栏中输入网址,回车查看页面时,这时会向服务器端(IIS)发送一个request请求,服务器就会判断发送过来的请求页面, 完全识别 HTTP 页面处理程序类后,ASP.NET 运行时将调用处理程序的 ProcessRequest 方法来处理请求,来...
分类:Web程序   时间:2014-05-22 15:30:10    阅读次数:347
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!