microsoft / microsoft/typespec

Analyze the Exists pattern

Open
#5,265 0 comments 0 reactions 0 assignees View on GitHub
emitter:client:csharp
Dominant language
Java
Stars
5.9k
Forks
394
Avg merge
1d 23h
Merged PRs (30d)
104

Description

We decided to throw for 404s in MGC for HEAD requests, which is a departure from the Autorest behavior. The goal is that we will have some sort of [Azure decorator](https://github.com/Azure/typespec-azure/issues/1948) to handle this for Azure usage, but for unbranded, we think that provided the RequestOptions API is usable enough, users or library authors can add 404 as a success code if they want to avoid throwing. This issue can be closed with the result of the analysis and the decision for how this should be handled in MGC.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.