Skip to content

Commit e8e0326

Browse files
committed
document 'type' return key in head_http_rels
1 parent 72fb63a commit e8e0326

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/IndieWeb/link_rel_parser.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ function http_rels($h) {
5151
// in $url: URL to get HTTP HEAD Link (and effective/x-extended) rels
5252
// returns: array of
5353
// "status"=> HTTP status code,
54-
// "rels" array with
54+
// "type"=> HTTP Content-Type
55+
// "rels" array with http_rels return value
5556
function head_http_rels($url) {
5657
$c = curl_init();
5758
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);

0 commit comments

Comments
 (0)