Fixed the 'ags_rest' type in obtain_resource_protocol function
Merge branch 'resource_format_detection_fix' into noaa_dev