warriordog / ActivityPubSharp

Modular implementation of ActivityPub in C#
https://warriordog.github.io/ActivityPubSharp/
Mozilla Public License 2.0
45 stars 9 forks source link

Add Profile field support to HTTP ContentType (resolves #127) #174

Open puzzler995 opened 7 months ago

puzzler995 commented 7 months ago

Modified ActivityPubOptions and ActivityPubClient to instead have a ContentType record struct, so it can handle both MediaType and Profile.

Feel free to let me know if there's anything I need to change. I've tested it as much as I can, but if you know of any softwares that actually follow the spec on this that I can test against, I will for sure.