Referer header in conn req_headers

sorry for my bad english

is there any way to fetch referer url from conn?
the app serves javascript code based on the url of the host it was called from.
eg ->
lets say has script tag as <script src=""></script> how can we get the url i.e from conn.

Thanks in advance

get_req_header(conn, "referer")

1 Like