Examples: GetURLHeaderInfo method

The following script tests to make sure that the dash in the header string will get converted to an underscore within the call to the GetURLHeaderInfo method.

Sub Initialize
Dim session As New NotesSession
Dim db As NotesDatabase
Dim urlinfo As string
Set db = session.CurrentDatabase
urlinfo = db.GetURLHeaderInfo("http://www.cnn.com", _
"Content-Type")
Print "URL Info: ", urlinfo
End Sub