http2 Questions
2
I'm using the Java 11 HttpClient with HTTP/2 and need to keep connection alive for few minutes, but the builder does not have the option to set it. Is there a way to specify this and make client ke...
Cyclist asked 4/12, 2018 at 16:34
2
Solved
Here's my code:
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("http://127.0.0.1:8081/"))
.header("Host", "test.example.com")
.bu...
Verile asked 13/9, 2018 at 14:3
2
After reading both HTTP/2 RFC (#7540) and TLS-ALPN RFC (#7301), I'm still unable
to figure out the expected behavior when ALPN is lacking in one end.
Assuming I have a client that uses HTTP/2 "...
1
As I have enabled the HTTP2 protocol of IIS, but the requests of the main javascript files were still queueing. According to the explanation of queueing by Chrome, I really don't know what cause th...
Terminator asked 28/11, 2018 at 7:43
1
Solved
I'm trying to understand what is the difference between HTTPS and http/2?
If I'm going to build a Node.js/express app, what should I use?
Can I use HTTPS with http/2?
Maybe if I use HTTPS, I don't ...
1
Solved
How can I force a simple Go client to use HTTP/2 and prevent it from falling back to HTTP 1.1 ?
I have a simple HTTP/2 server running on "localhost" and it returns details of the request in its re...
4
Solved
I'm looking for java client that can connect to a HTTP/2 based server.. The server is already supporting HTTP/2 API. I don't see the most popular Apache Http client https://hc.apache.org/ still sup...
Pronunciation asked 16/1, 2016 at 4:10
1
I'm using: Erlang OTP 21 and Cowboy 2.4
Code:
cowboy:start_tls(
my_listener,
[
{port, Web_Server_Port},
{certfile, Cert_File},
{keyfile, Key_File}
],
#{env => #{dispatch => dispatche...
2
Solved
in RFC 7540 section 5.1.1. (https://www.rfc-editor.org/rfc/rfc7540#section-5.1.1), it specifies as following:
The identifier of a newly established stream MUST be numerically greater than all stre...
Libby asked 10/3, 2017 at 13:48
4
Is there anyone who used spring-webflux with netty (http/2)?
Spring Documentation says:
You can enable HTTP/2 support in your Spring Boot application with the server.http2.enabled configuratio...
Stander asked 16/5, 2018 at 8:28
3
sounds like a straightforward question, but i cannot find the answer (probably because the '2.0' is interpreted as Akka's version when searching for 'how to do HTTP/2.0 with Akka-HTTP').
it seems ...
3
Solved
Is it because it requires the responses to be made to client in the order of request that causes the head of line blocking problem in HTTP 1.1?
If each request takes exactly an equal amount of ti...
Donahoe asked 27/12, 2015 at 8:55
3
Im using apns with http2 protocol for sending pushnotifications, the code i use is similar to this post:
https://mcmap.net/q/571952/-new-apns-provider-api-and-php
When my app is correctly installe...
Cuellar asked 2/9, 2016 at 10:50
4
I am trying to use the new Apple Push Notification API, which is based on HTTP/2.
I found the http-2 Ruby gem, but the documentation isn’t clear about how to make requests as a client.
How to mak...
Plagiarize asked 24/12, 2015 at 21:55
1
I'm setting up a new server with Ubuntu 18.04.1 Nginx 1.14.0 with HTTP2 and PHP 7.2.7 This is the first server that I try to setup with both IPv4 and IPv6 enabled. Everything works fine until I tes...
Ser asked 17/9, 2018 at 6:47
1
Solved
Background: our server supports both HTTP/2 and HTTP/1.1 protocols.
However, during tests, it appeared that HTTP/1.1 is much faster for files upload. Example of that issue could be also seen here:...
Bethink asked 19/9, 2018 at 9:32
3
Solved
I'm using Retrofit 1.9 in my Android app.
Server is on Django with Nginx, HTTPS with HTTP 2. Certificate is from WoSign, "A" score on SSL Labs.
I'm testing on 3 devices:
Nexus 4, Android 5.1.1 ...
2
I'm wondering if this (httptest) package can be used to test HTTP/2 specific features.
Can anyone point me to some examples maybe?
I'm aware of the tool h2i, but it's an interactive tool.
I'm look...
Gree asked 22/2, 2016 at 15:46
3
Solved
HTTP/2 is definitely the future trend because it is now the standard of HTTP protocol. As we can see in Can I use, 70.15 percent of browsers support the HTTP/2. But HTTP/2 is so new that there are ...
1
Solved
Thanks to HTTP/2's one connection per origin principle, the browser can load many resources in parallel when a web page loads (scripts, images, etc.), but how should a script do the same thing dyna...
Taenia asked 9/8, 2018 at 22:21
3
If I type out https://http2.golang.org/ the chrome browser will automatically send the HTTP/2 request. How is this done?
Reyreyes asked 12/5, 2016 at 8:40
3
Solved
Couple of months ago, HTTP/2 was published as RFC7540.
How will this affect the existing REST API built on HTTP/1.1?
As per Wikipedia, HTTP/2 has added new features.
How can we take advantage of th...
3
I am searching for a script which can detect if the visitor's browser has enabled SPDY or HTTP/2.
Something like this.
Courser asked 27/5, 2015 at 9:38
1
gRPC is based on http2 which must be use ssl.
But I found I can create use insecure server.
I want to know insecure means that don't use ssl or use predefined certificate for http2?
1
Solved
Here is my sample code. The query is encoded to UTF-8:
HttpRequest request = HttpRequest.newBuilder()
.header("content-type", "application/json;charset=UTF-8")
.uri(URI.create("http://localhost:...
Submission asked 14/6, 2018 at 10:57
© 2022 - 2024 — McMap. All rights reserved.