2 ms·
Ruby? No. Rails? Perhaps. (Both github and gitlab are built with ruby on rails). For an old post on a somewhat related topic, see: https://ryanbigg.com/2009/0
by e12e 5y ago
Ruby? No. Rails? Perhaps. (Both github and gitlab are built with ruby on rails).
For an old post on a somewhat related topic, see:
https://ryanbigg.com/2009/04/how-rails-works-2-mime-types-respond_to https://ryanbigg.com/2009/04/how-rails-works-2-mime-types-re...
I could imagine the mix of rails #respond_to and "file extensions" at the end of urls might make a mess (think /users/profile/smith.html vs /smith vs /smith.json vs /smith.txt - essentially what might have been /smith?format=json etc).
Ed: current documentation:
https://apidock.com/rails/v6.1.3.1/ActionController/MimeResponds/respond_to https://apidock.com/rails/v6.1.3.1/ActionController/MimeResp...