mirror of https://gitlab.com/bashrc2/epicyon
json option
parent
130bd12fb5
commit
224204edff
|
@ -917,7 +917,7 @@ if args.actor:
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
if args.json:
|
if args.json:
|
||||||
session = createSession(domain,port,True)
|
session = createSession(domain,port,False)
|
||||||
asHeader = {'Accept': 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"'}
|
asHeader = {'Accept': 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"'}
|
||||||
testJson = getJson(session,args.json,asHeader,None,__version__,httpPrefix,None)
|
testJson = getJson(session,args.json,asHeader,None,__version__,httpPrefix,None)
|
||||||
pprint(testJson)
|
pprint(testJson)
|
||||||
|
|
Loading…
Reference in New Issue