Send Content-Type in ActivityPub request

This commit is contained in:
mei23 2018-08-25 12:32:31 +09:00
parent c2cceb16c1
commit 4f90dfb3d4

View File

@ -19,6 +19,9 @@ export default (user: ILocalUser, url: string, object: any) => new Promise((reso
port,
method: 'POST',
path: pathname + search,
headers: {
'Content-Type': 'application/activity+json'
}
}, res => {
log(`${url} --> ${res.statusCode}`);