mix-php / http-message Goto Github PK
View Code? Open in Web Editor NEWHttp message library based on PSR-7 / PSR-17 standard, supports Swoole, WorkerMan
Home Page: https://openmix.org/mix-php
Http message library based on PSR-7 / PSR-17 standard, supports Swoole, WorkerMan
Home Page: https://openmix.org/mix-php
feat:http-message:移除header小写处理
昨天测试websocket,有遇到握手失败,经查看源码后发现是 Sec-WebSocket-* 的header未能读取到,在chrome里使用js连接ws服务器时,header里会有大小写同时使用的情况,不能确定是不是跟swoole版本(v4.7.0)也有关,但是依psr规范的话,http-message的实现应该内部有统一使用大小写,这时是不应该出现这类问题
从git上查看历史版本后发现在 f0ab86b6da4b73f34569481f5019d5e24b4f5fd2
版本时有移除header大小写处理,请review一下,确认移除大小写处理的必要性和正确性
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.