just cause the is the first hit on my search - these are the solutions that helped me:
make sure your Info.plist has the long list of associations: How do you set your Cocoa application as the default web browser?
re-register the app with apple: How to use an Applescript app bundle as the default browser in os x?
In my case I wanted a AppleScript app to be registered.