博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
输入/help获取更多指令_更多HTTP / 2新闻
阅读量:2523 次
发布时间:2019-05-11

本文共 3089 字,大约阅读时间需要 10 分钟。

输入/help获取更多指令

Just a short one today folks. I wanted to indicate some exciting stuff that’s happened in the past few hours, and get you excited for how the web is shaping up.

今天只是一小部分人。 我想指出过去几个小时发生的令人兴奋的事情,并使您对网络的发展方式感到兴奋。

A few months ago I wrote a post about how iOS 9 was going to have HTTP/2 support, which you can . Since then, I started work on my new ambitious project: a pure-Python HTTP/2 stack that would work equally well as a client or a server. You can find this project .

几个月前,我写了一篇有关iOS 9如何具有HTTP / 2支持的文章,您可以 。 从那时起,我开始着手进行新的雄心勃勃的项目:一个纯Python HTTP / 2堆栈,该堆栈可以像客户端或服务器一样良好地工作。 您可以找到该项目。

For the moment the project ships with a basic example server, written for Twisted. This server does nothing much: if you hit the base path, it echoes back a JSON dictionary of the headers from the request. Very simple.

目前,该项目附带一个为Twisted编写的基本示例服务器。 该服务器无济于事:如果您击中了基本路径,它将回显请求中标头的JSON字典。 很简单。

Today, iOS 9 came out for real, and I decided I’d play around with it a bit. Using a custom version of Twisted containing , I made a few tiny changes to the Twisted example server to get it up and running with TLS and a self-signed certificate.

今天,iOS 9真正面世了,我决定自己尝试一下。 使用包含的Twisted的自定义版本,我对Twisted示例服务器进行了一些小改动,以使其启动并使用TLS和自签名证书运行。

The result is below: a series of pictures of modern web browsers speaking HTTP/2 to a HTTP/2 server written entirely in Python. There’s no C extensions here: just Python. Along with each image is the list of settings that HTTP/2 client explicitly sends.

结果如下:一系列现代Web浏览器的图片,这些图片在完全用Python编写的HTTP / 2和HTTP / 2服务器之间进行了HTTP / 2编程。 这里没有C扩展:只有Python。 与每个图像一起的是HTTP / 2客户端显式发送的设置列表。

The next few months of work on hyper-h2 should be really interesting. Come help me out! In the meantime, if you want to try it out yourself, the code is available : don’t forget to apply the Twisted patch!

关于hyper-h2的接下来的几个月的工作应该真的很有趣。 快来帮帮我! 同时,如果您想自己尝试一下,可以找到代码:不要忘记应用Twisted补丁!

Safari(iOS 9) (Safari (iOS 9))

Mobile Safari, iOS9

Settings:

设定:

  • SETTINGS_HEADER_TABLE_SIZE: 4096
  • SETTINGS_ENABLE_PUSH: 0 (this is sad: no server push for mobile Safari)
  • SETTINGS_MAX_CONCURRENT_STREAMS: 100
  • SETTINGS_INITIAL_WINDOW_SIZE: 65535
  • SETTINGS_HEADER_TABLE_SIZE :4096
  • SETTINGS_ENABLE_PUSH :0(这很可惜:没有用于移动Safari的服务器推送)
  • SETTINGS_MAX_CONCURRENT_STREAMS :100
  • SETTINGS_INITIAL_WINDOW_SIZE :65535

Safari(OS X El Capitan GM) (Safari (OS X El Capitan GM))

Desktop Safari

Settings:

设定:

  • SETTINGS_HEADER_TABLE_SIZE: 4096
  • SETTINGS_ENABLE_PUSH: 0 (No push for desktop either? Double sadness!)
  • SETTINGS_MAX_CONCURRENT_STREAMS: 100
  • SETTINGS_INITIAL_WINDOW_SIZE: 65535
  • SETTINGS_HEADER_TABLE_SIZE :4096
  • SETTINGS_ENABLE_PUSH :0(也不推动桌面使用?两次悲伤!)
  • SETTINGS_MAX_CONCURRENT_STREAMS :100
  • SETTINGS_INITIAL_WINDOW_SIZE :65535

Chrome(版本45.0.2454.85,OS X) (Chrome (Version 45.0.2454.85, OS X))

Desktop Chrome

Settings:

设定:

  • SETTINGS_MAX_CONCURRENT_STREAMS: 1000
  • SETTINGS_INITIAL_WINDOW_SIZE: 6291456
  • SETTINGS_MAX_CONCURRENT_STREAMS :1000
  • SETTINGS_INITIAL_WINDOW_SIZE :6291456

Firefox(40.0.3,OS X) (Firefox (40.0.3, OS X))

Desktop Firefox

  • SETTINGS_INITIAL_WINDOW_SIZE: 131072
  • SETTINGS_MAX_FRAME_SIZE: 16384
  • SETTINGS_INITIAL_WINDOW_SIZE :131072
  • SETTINGS_MAX_FRAME_SIZE :16384

翻译自:

输入/help获取更多指令

转载地址:http://mvqwd.baihongyu.com/

你可能感兴趣的文章
JVM介绍
查看>>
将PHP数组输出为HTML表格
查看>>
Java中的线程Thread方法之---suspend()和resume() 分类: ...
查看>>
经典排序算法回顾:选择排序,快速排序
查看>>
BZOJ2213 [Poi2011]Difference 【乱搞】
查看>>
c# 对加密的MP4文件进行解密
查看>>
AOP面向切面编程C#实例
查看>>
Win form碎知识点
查看>>
避免使用不必要的浮动
查看>>
第一节:ASP.NET开发环境配置
查看>>
sqlserver database常用命令
查看>>
rsync远程同步的基本配置与使用
查看>>
第二天作业
查看>>
访问属性和访问实例变量的区别
查看>>
Spring MVC 异常处理 - SimpleMappingExceptionResolver
查看>>
props 父组件给子组件传递参数
查看>>
【loj6038】「雅礼集训 2017 Day5」远行 树的直径+并查集+LCT
查看>>
十二种获取Spring的上下文环境ApplicationContext的方法
查看>>
UVA 11346 Probability 概率 (连续概率)
查看>>
linux uniq 命令
查看>>