Yii HTTP Runner 3.2
2025-06-14
1350次浏览
Yii HTTP Runner 的 minor 版本已标记发布。此版本包含多项变更与改进:
- 新增
HttpApplicationRunner::runAndGetResponse()方法,该方法返回响应但不进行发送(emit); - 为
HttpApplicationRunner构造函数添加$emitter、$useRemoveBodyByStatusMiddleware、$useContentLengthMiddleware和$useHeadRequestMiddleware参数; - 对内部类
RequestFactory进行小幅重构:显式标记只读属性,并为create()方法的参数添加类型; - 若已设置
Content-Length头信息且在无消息体的情况下调用发送(emit),则不再移除该头信息。
新闻归档
热门标签
- yii3
- 扩展
- 发布
- yii2
- debug
- view
- auth client
- html
- bootstrap
- release
- redis
- Yii 1.1
- apidoc
- mongodb
- http
- db
- validation
- cache
- Yii 2.0
- runner
- extensions
- console
- gii
- error handler
- mailer
- http 客户端
- queue
- twig
- translator
- hydrator
- widget
- sphinx
- log
- assets
- config
- router
- middleware
- symfonymailer
- elasticsearch
- widgets
- swiftmailer
- imagine
- 图书
- rbac
- swagger
- data
- csrf
- logging
- fastroute
- application