Giter VIP home page Giter VIP logo

http's Introduction

EasySwoole HTTP 服务组件

大文件上传

Easyswoole的Request对象会默认处理Swoole\Http\Request的files属性,并复制一份到EasySwoole\Http\Request对象中。 若上传大文件对象时,这会导致双倍内存占用。因此允许在Swoole\Http\Request对象中设置一个ignoreFile属性值为true.这样则会忽略文件处理。

动态路由匹配规则

Dispatcher

http's People

Contributors

evalor avatar g4li avatar heelie avatar kiss291323003 avatar pppscn avatar rhilip avatar stitch-june avatar tioncico avatar xiaocaigua avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

http's Issues

fastroute的bug

image
配置自定义路由时如果route参数为test/aa,同时创建一个类为Test 方法为aa,会导致这路由找不到对应的handler
image

增加并修复部分状态响应码

Response::HTTP_EXPECTATION_FAILED 的值应是417,目前错写成415.

const CODE_EXPECTATION_FAILED = 415;

并希望能增加 429 等状态码,完整的列表可以见Symfony的Response对象:

分别如下

https://github.com/symfony/http-foundation/blob/c56de490ed6e0a78be4d0bdf449585654e09655f/Response.php#L24-L86

https://github.com/symfony/http-foundation/blob/c56de490ed6e0a78be4d0bdf449585654e09655f/Response.php#L136-L210

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.