Skip to content

Commit 72fb63a

Browse files
committed
return content_type for client decision re body
1 parent 9e0e635 commit 72fb63a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/IndieWeb/link_rel_parser.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ function head_http_rels($url) {
7171

7272
$r = array();
7373
$r['status'] = $i['http_code'];
74+
$r['type'] = $i['content_type'];
7475
$r['rels'] = http_rels($h);
7576
return $r;
7677
}

0 commit comments

Comments
 (0)