Fixed bug with 'Content-Type' in openURL.

This condition was generating an exception when the 'Content-Type' key was not present.