bzp2010 commented on code in PR #12526:
URL: https://github.com/apache/apisix/pull/12526#discussion_r2281377556


##########
apisix/admin/standalone.lua:
##########
@@ -138,9 +143,16 @@ end
 
 
 local function update(ctx)
-    local content_type = core.request.header(nil, "content-type") or 
"application/json"
+    -- check digest header existence
+    local digest = core.request.header(nil, METADATA_DIGEST)
+    if not digest then

Review Comment:
   I clearly stated this in the PR description.
   
   1. This is a break change
   2. This is necessary to ensure global consistency in new releases.
   3. I'm not obligated to guarantee backward compatibility of an experimental 
feature



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to