5G-MAG / rt-common-shared

Tools common to various projects
Other
3 stars 7 forks source link

Purge content hosting cache 422 response #16

Closed rjb1000 closed 1 year ago

rjb1000 commented 1 year ago

This is used by the 5GMS AS to indicate that there is something wrong with the request body included in the purgeContentHostingCache operation. For example, the regular expression provided is syntactically invalid.

In this case a 400 (Bad Request) isn't appropriate because the HTTP request was valid. Rather, the syntax error was detected inside the application, i.e. above the Layer 7 application protocol.