c# - 等效于 C# WebClient/WebRequest 中的 curl "--path-as-is"
问题描述
根据定义,CURL 中的参数--path-as-is
按原样发送带有 URL 路径的请求,而不进行压缩(不要压缩 URL 路径中的 .. 序列)。
如何使用 WebClient 或 WebRequest 在 C# 中实现相同的行为?
解决方案
推荐阅读
- ms-access - 如何更改 MS Access 2016 中的默认数据表字体?
- powershell - 服务器上本地管理员组中的 Active Directory 组 - 访问被拒绝
- c++ - main.exe 已停止在代码块中工作
- html - 如何重新设计两个按钮
- python - Python函数可以在外面修改列表或字典,但不能修改字符串
- docker - 清除后 Docker 仍然显示版本
- json - FullCalendar 不显示数据
- docker - Docker中的ConcourseCI:mount:权限被拒绝(你是root吗?)
- puppet - 仅当执行成功时才从执行通知
- java - 如果在类中没有创建 Spark 会话,则 Spark Jobs 最终状态在 yarn-cluster 模式下失败