Why is it said that HTTP2 is a binary protocol?

Binary is probably a confusing term – everything is ultimately binary at some point in computers! HTTP/2 has a highly structured format where HTTP messages are formatted into packets (called frames) and where each frame is assigned to a stream. HTTP/2 frames have a specific format, including a length which is declared at the beginning … Read more

How many concurrent requests should we multiplex in HTTP/2

The number of streams that client and server can initiate isn’t unlimited, it’s mandated by the SETTINGS_MAX_CONCURRENT_STREAMS parameter of the SETTINGS frame that each peer sends at the beginning of the connection: see section 6.5.2 of RFC 7540 The default is unlimited, and the RFC has the following recommendation: It is recommended that this value … Read more

What is the value of using Webpack with HTTP/2

TL;DR In HTTP/1.1, you had to make as few requests as possible to get performance; in HTTP/2 you have minimal performance impact per request but can still hit resource constraints and dependency management that will require a bundling tool such as webpack. Long version: Webpack (or any other bundler) can still provide value in an … Read more

How to make the .net HttpClient use http 2.0?

1.Make sure you are on the latest version of Windows 10. 2.Install WinHttpHandler: Install-Package System.Net.Http.WinHttpHandler 3.Extend WinHttpHandler to add http2.0 support: public class Http2CustomHandler : WinHttpHandler { protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) { request.Version = new Version(“2.0”); return base.SendAsync(request, cancellationToken); } } 4.Pass above handler to the HttpClient constructor using (var httpClient = … Read more

In which layer is HTTP in the OSI model?

In which layer is HTTP in the OSI model? It’s in the application layer. See the following quotes from the RFC 7230, one of the documents that currently defines the HTTP/1.1 protocol: The Hypertext Transfer Protocol (HTTP) is a stateless application-level request/response protocol that uses extensible semantics and self-descriptive message payloads for flexible interaction with … Read more

HTTP/2 (HTTP2 or SPDY) on .NET

2016-07-21: HTTP/2 requires Windows 10 or Windows Server 2016 on the server side. Those operating systems ship with IIS 10. So far IIS 10 has not been made available for installation on older operating systems. Given past behavior it is unlikely it ever will become available on downlevel operating systems. With SSL enabled (which is … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)