Subject: Do hooks follow redirects?
Say I change the receiving end of a hook, and set the old one to return a 301 (or 303) status. Would the post-receive hook follow the redirect?
This is for http://howsmycode.com, we want to change the post-receive URL for each repo, but the repos are not controlled by us, so we can't just change the URL on github :) If it follows redirects, cool, if not, we'll have all our users change their hooks, but it'd be neat if we didn't need that ^_^
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Tekkub on 08 Sep, 2009 07:05 PM
I'm not certain, you'd have to test, but I don't think they will follow a redirect currently. It can probably be adjusted to do so though.