GithubHelp home page GithubHelp logo

mix-php / http-message Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 2.0 121 KB

Http message library based on PSR-7 / PSR-17 standard, supports Swoole, WorkerMan

Home Page: https://openmix.org/mix-php

PHP 100.00%
mix http message

http-message's People

Contributors

cexll avatar onanying avatar quhaowk avatar syanh avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

syanh c1230v

http-message's Issues

header兼容性问题

feat:http-message:移除header小写处理

昨天测试websocket,有遇到握手失败,经查看源码后发现是 Sec-WebSocket-* 的header未能读取到,在chrome里使用js连接ws服务器时,header里会有大小写同时使用的情况,不能确定是不是跟swoole版本(v4.7.0)也有关,但是依psr规范的话,http-message的实现应该内部有统一使用大小写,这时是不应该出现这类问题

从git上查看历史版本后发现在 f0ab86b6da4b73f34569481f5019d5e24b4f5fd2 版本时有移除header大小写处理,请review一下,确认移除大小写处理的必要性和正确性

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.