How to check if my site uses HTTP/2 or HTTP/1.1 ?

Gmeister4

Well-known member
Joined
Apr 19, 2016
Messages
161
Best answers
0
Ratings
10
Points
18
#1
Can anyone tell me how to check if my site uses HTTP/2 or HTTP/1.1 ? Is it possible to decide if I want to use HTTP/2 or HTTP/1.1? many thanks!
 

VirtuBox

Global Mod
Staff Member
Joined
May 3, 2016
Messages
1,605
Best answers
4
Ratings
448 13
Points
83
#2

Gmeister4

Well-known member
Joined
Apr 19, 2016
Messages
161
Best answers
0
Ratings
10
Points
18
#3
Gmeister4
Right, I saw the result with http 2 is supported for my website. thanks for sharing!

Is there a way to check without using tool?
 
Joined
Nov 17, 2016
Messages
5
Best answers
0
Ratings
1
Points
3
#4
Shakr
Hi,

Yes with curl

Example :
Code:
[email protected]~$ curl -I https://forumweb.hosting/
HTTP/2 200 <--- Protocol
date: Mon, 15 Jul 2019 12:22:06 GMT
content-type: text/html; charset=UTF-8
set-cookie: __cfduid=d7b8fe52a5e204875bdb73519c43156319gh25; expires=Tue, 14-Jul-20 13:22:05 GMT; path=/; domain=.forumweb.hosting; HttpOnly
x-powered-by: PHP/7.2.8
vary: Accept-Encoding,Cookie,User-Agent
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
server: cloudflare
cf-ray: 4f6c0b121e5ecd8f-CDG
 
Newer Threads

Latest Hosting OffersNew Reviews

Sponsors

Latest Blog ArticlesMost Viewed Threads

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top