Skip to content

Commit 764f33b

Browse files
committed
Revert "Options Http Enum add to Core (Azure#5246)"
This reverts commit 7eeb609.
1 parent 88242f3 commit 764f33b

File tree

4 files changed

+1
-10
lines changed

4 files changed

+1
-10
lines changed

sdk/core/azure-core/CHANGELOG.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
## 1.11.0-beta.3 (Unreleased)
44

5-
- Added 'OPTIONS' HTTP method to `Azure::Core::Http::HttpMethod` enum.
6-
75
### Features Added
86

97
### Breaking Changes

sdk/core/azure-core/inc/azure/core/http/http.hpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -159,12 +159,6 @@ namespace Azure { namespace Core { namespace Http {
159159
*/
160160
AZ_CORE_DLLEXPORT const static HttpMethod Patch;
161161

162-
/**
163-
* @brief The representation of an `OPTIONS` HTTP method based on [RFC 2616]
164-
* (https://datatracker.ietf.org/doc/html/rfc2616).
165-
*/
166-
AZ_CORE_DLLEXPORT const static HttpMethod Options;
167-
168162
private:
169163
std::string m_value;
170164
}; // extensible enum HttpMethod

sdk/core/azure-core/src/http/http.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ const HttpMethod HttpMethod::Post("POST");
2626
const HttpMethod HttpMethod::Put("PUT");
2727
const HttpMethod HttpMethod::Delete("DELETE");
2828
const HttpMethod HttpMethod::Patch("PATCH");
29-
const HttpMethod HttpMethod::Options("OPTIONS");
3029

3130
namespace {
3231
bool IsInvalidHeaderNameChar(char c)

sdk/core/azure-core/test/libcurl-stress-test/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Where namespace will be created if missing , search directory can be any folder
1919

2020
ATM the docker image is build by hand and hard-coded in the chart to simplify matters.
2121

22-
To build the image run "docker build -t <acr>/azuresdkforcpp/curlstress:v8 --build-arg targetTest=azure-core-libcurl-stress-test --build-arg build=on -f .\Dockerfile .\..\..\..\..\..\"
22+
To build the image run "docker build -t <acr>/azuresdkforcpp/curlstress:v8 --build-arg targetTest=azure-core-libcurl-stress-test --build-arg build=on ."
2323

2424
To push to mcr : "docker push <acr>/azuresdkforcpp/curlstress:v8"
2525
Obviously after logging in to the acr "az acr login -n <acr>"

0 commit comments

Comments
 (0)