vipyrsec / dragonfly-mainframe

The mainframe for Dragonfly
https://docs.vipyrsec.com/dragonfly-mainframe/
MIT License
4 stars 2 forks source link

Remove "VERSION" from GitHub Accept header #187

Closed shenanigansd closed 5 months ago

shenanigansd commented 5 months ago

Most of the blogposts online show using "application/vnd.github.VERSION.sha" to retrieve just the SHA, but according to GitHub's docs it's supposed to be "application/vnd.github.sha".

I have tested both, and they appear to work the same. I don't know what the difference is, but I'd like to use the one that's officially documented and supported.