Skip to content

Allow ini-like filesizes #275

Closed
Closed
@jsor

Description

@jsor

A few constructors allow to pass file sizes as parameters. In addition to bytes as integers, we should allow string values similar to the ini settings like 8M.

Ref #274 (comment)
Affects also https://github.com/reactphp/http/blob/master/src/Middleware/RequestBodyBufferMiddleware.php#L16

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions