component AP gateway: set POST default response code to 202 (accepted)
This commit is contained in:
parent
bcdd1356bb
commit
7d3e66dc28
1 changed files with 2 additions and 0 deletions
|
|
@ -648,6 +648,8 @@ class HTTPAPGServer(web_resource.Resource):
|
|||
request.finish()
|
||||
return
|
||||
|
||||
# default response code, may be changed, e.g. in case of exception
|
||||
self.responseCode(request, http.ACCEPTED)
|
||||
try:
|
||||
return await self.APRequest(request, signing_actor)
|
||||
except Exception as e:
|
||||
|
|
|
|||
Loading…
Reference in a new issue