document the use of the headersinspection handler and the options.
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- csharp
调研方向
首先查看相关 issue #2963 以及现有的语言示例文档结构。针对受支持的语言,使用 HeadersInspectionHandlerOption 记录读取请求头和响应头的过程,包括其选项以及响应头查找;完成标准是每种语言都有一个涵盖此流程的可用示例。
由索引模型根据 Issue 内容生成。
描述
Related to https://github.com/microsoft/kiota/issues/2963
We should add samples of reading request/response headers in the languages supported.
In C# this looks to be close to
var headersInspectionHandlerOption = new HeadersInspectionHandlerOption()
{
InspectResponseHeaders = true // specific you wish to collect reponse headers
};
//add the option
var user = graphClient.Users["user-id"].GetAsync(requestConfiguration => requestConfiguration.Options.Add(headersInspectionHandlerOption));
//use the key to get the header.
var locationHeader = headersInspectionHandlerOption.ResponseHeaders["Location"];
- 主要语言
- 没有语言数据
- 星标
- 21
- 派生
- 49
- 平均合并
- 2 天 9 小时
- 30 天内合并 PR
- 1
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
MicrosoftDocs/openapi-docs 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 35/100
MicrosoftDocs/openapi-docs#151 ·
-
adds java example to middleware documentation page可能重新可做 @Ndiritu 于 668 天前认领,目前没有进行中的 PR。 未关闭
MicrosoftDocs/openapi-docs#138 · 已指派 1 人 ·
-
adds python example to middleware documentation page可能重新可做 @Ndiritu 于 668 天前认领,目前没有进行中的 PR。 未关闭
MicrosoftDocs/openapi-docs#137 · 1 条评论 · 已指派 1 人 ·
-
adds php example to middleware documentation page可能重新可做 @Ndiritu 于 668 天前认领,目前没有进行中的 PR。 未关闭
MicrosoftDocs/openapi-docs#136 · 已指派 1 人 ·
-
adds Go example to middleware documentation page可能重新可做 @rkodev 于 668 天前认领,目前没有进行中的 PR。 未关闭
MicrosoftDocs/openapi-docs#135 · 已指派 1 人 ·
查看 MicrosoftDocs/openapi-docs 的全部 Issue
相似的 Issue
-
module-request
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
Complexity: Small P-Feature: Projects page ready for merge team role: back end/devOps role: front end size: 0.25pt
难度 1/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 67/100
bellingcat/toolkit#905 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
blinklabs-io/gouroboros#2577 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复