How to find in Array of Pair?

Hot to find in head1 “Content-Type” ?
‘’’
julia> head1
40-element Array{Pair{SubString{String},SubString{String}},1}:
“Accept-Ranges” => “bytes”

                             "Age" => "0"

                   "Cache-Control" => "max-age=120"

                    "Content-Type" => "text/html; charset=windows-1250"

                            "Date" => "Mon, 10 Feb 2020 17:32:20 GMT"

                   "Last-Modified" => "Mon, 10 Feb 2020 17:26:28 GMT"

                          "Server" => "Microsoft-IIS/7.5"

‘’’
Thx. , Paul

find(x -> x[1] == "Content-Type", head1)
1 Like