我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

在照片上传过程中,期望在android中失败

while uploading images to server, it gives me expectation failed error response code 417.

My server side coding is in php, and client is android

request.getParams().setBooleanParameter( "http.protocol.expect-continue", false ) worked in my case

The RFC says that this is due to an Expect request header that the server can't meet. Look at the request headers sent by your client application, and see what their purpose is and if they're necessary.

近期文章

  • Wordpress - 如何从帖子内容中提取第一个视频并将其放在不同的区域?
  • PHP文件在浏览器中打开而不是运行[重复]
  • PHP:异常与自定义错误
  • 如何显示从Android到PHP的消息? [重复]
  • docker安装并启用php扩展
  • MySQL和PHP意外的T_Variable
  • Php正则表达式单词前瞻
  • javascript全局数组无法记录[重复]
  • 如何装运到定制运输公司?
  • magento全文搜索不在Live上工作
  • Codeigniter:重写以删除index.php不起作用
  • 如何在PHP重定向后显示警告框[关闭]
  • 编译错误:“g ++:错误尝试执行'cc1plus':execvp:没有这样的文件或目录”
  • PHP:mailto函数在填充包含行和url的文本时会破坏
  • 日期格式PHP
  • 在Yii演示登录的帮助下为Web应用程序设置新的登录
  • 在页面和弹出式oauth页面之间进行通信
  • 更改$ _SERVER ['DOCUMENT_ROOT']
  • 将symfony从2.5.8更新到2.6后出错
  • 从sql查询数组中获取数据在Laravel 5.2 Controller中不起作用

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华