/
githubmirror
/
aspnetcore
Обзор
Документация
Войти
/
githubmirror
/
aspnetcore
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Shared/HttpSys/Constants.cs
20 строк
813 B
xiaozhao018
Do not close connection for http1.0 when client request connection keep-alive (#56558)
17 июл 2024, 03:55
Не верифицирован
17 июл 2024, 03:55
6548eba
Код
Авторство
О чём код?
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.HttpSys.Internal; internal static class Constants { internal const string HttpScheme = "http"; internal const string HttpsScheme = "https"; internal const string Chunked = "chunked"; internal const string Close = "close"; internal const string KeepAlive = "keep-alive"; internal const string Zero = "0"; internal const string SchemeDelimiter = "://"; internal const string DefaultServerAddress = "http://localhost:5000"; internal static readonly Version V1_0 = new Version(1, 0); internal static readonly Version V1_1 = new Version(1, 1); internal static readonly Version V2 = new Version(2, 0); }