membphis commented on code in PR #12526: URL: https://github.com/apache/apisix/pull/12526#discussion_r2281398372
########## 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 reviewed again, agree with you -- 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