mirror of
https://github.com/go-gitea/gitea.git
synced 2026-03-17 14:24:07 +00:00
After many years, "activitypub" is still "in progress" and no real progress for end users. So it is not mature. Temporarily mark the endpoints as "501 not implemented", and wait until the whole design is stable and usable.
15 lines
294 B
Go
15 lines
294 B
Go
// Copyright 2022 The Gitea Authors. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package activitypub
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"code.gitea.io/gitea/services/context"
|
|
)
|
|
|
|
func NotImplemented(ctx *context.APIContext) {
|
|
http.Error(ctx.Resp, "Not implemented", http.StatusNotImplemented)
|
|
}
|