FANNG1 commented on code in PR #6865:
URL: https://github.com/apache/gravitino/pull/6865#discussion_r2036412467
##########
server-common/src/main/java/org/apache/gravitino/server/web/Utils.java:
##########
@@ -48,6 +49,14 @@ public static <T> Response ok(T t) {
return
Response.status(Response.Status.OK).entity(t).type(MediaType.APPLICATION_JSON).build();
}
+ public static Response created() {
+ return
Response.status(Response.Status.CREATED).type(MediaType.APPLICATION_JSON).build();
+ }
Review Comment:
Spark Lineage client will throw exception for HTTP code `OK`
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]