I have never used oracle or htp, I can not provide much help, but a little search engine suggests that you can use the utl_http.get_header procedure, and the specific header that interests you will be the User-Agent .
I suggest finding the utl_http package for more information.
source share