Use 203 Non-Authoritative Information
> This response code means the returned metadata is not exactly the same > as is available from the origin server, but is collected from a local > or a third-party copy. This is mostly used for mirrors or backups of > another resource. Except for that specific case, the 200 OK response > is preferred to this status.
This commit is contained in:
parent
046abd3d17
commit
fb0be35572
|
@ -1,5 +1,5 @@
|
|||
listen 3000;
|
||||
client_max_body_size 50M; # default is 1M
|
||||
if ($http_user_agent = "Datadog/Synthetics") {
|
||||
return 200;
|
||||
return 203;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue