Azure / Azure/azure-documentdb-java

ConnectionMode.DirectHttps mode doesn't enforce RequestOptions' AccessCondition

オープン
#129 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
51
フォーク
52
PR マージ指標
30日以内にマージされた PR はありません

説明

I'm using the latest SDK 2.1.1. It seems that if I set `ConnectionPolicy`'s connection mode to be `DirectHttps`, `RequestOptions`' `AccessCondition` (type: `IfMatch`) will no longer be enforced. Request with non matching `AccessCondition` would succeed. My expectation is that such request would get a 412 with _{"Errors":["One of the specified pre-condition is not met"]}_ just like the `Gateway` connection mode, but it doesn't behave like that. This is a nasty bug, please fix it.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。