-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data Collection Request: sample HTTP Link headers #3
Comments
Link: <https://assets.sixtwothree.org/>; rel="preconnect"
Link: <https://fonts.googleapis.com/>; rel="preconnect"
Link: <https://fonts.gstatic.com/>; rel="preconnect"
Link: <https://sixtwothree.org/webmentions>; rel="webmention" |
|
my website and my curl client speak HTTP2 so the header name was lowercase:
|
see also, the tests in: https://github.com/indieweb/link-rel-parser-php/blob/master/tests/BasicTest.php |
also see the parseLinks-Tests in https://github.com/pear/HTTP2/tree/master/tests |
I used to have this all as a single link header, but had to split it up because consumer support was limited… In the early days the command would have returned:
|
Why only for Anyway... the CanvasLMS API that I'm dealing with right now uses them for paging:
|
@jordangov This gem is specifically for parsing HTTP Link response headers (and not for parsing |
@jordangov Oh, now I see the rather fine point you've made. Updated the Issue's description! |
try https://indiemap.org/ ! gives you 2300 sites all in one place, easily query-able, and self serve. 😁 eg here's an example graph from https://indiemap.org/docs.html#stats : instructions on how to write your own queries here: https://indiemap.org/docs.html#data-mining |
If your website includes HTTP Link headers in its response headers
to HEAD requests, could you run the following command (or similar depending on your OS), replacing$url
with your website's address, and paste the results in a comment on this Issue?The text was updated successfully, but these errors were encountered: