Azure / Azure/azure-documentdb-java

ConnectionMode.DirectHttps mode doesn't enforce RequestOptions' AccessCondition

Đang mở
#129 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
51
Fork
52
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.