shelf icon indicating copy to clipboard operation
shelf copied to clipboard

Web server middleware for Dart

Results 80 shelf issues
Sort by recently updated
recently updated
newest added

Fixes #270 The `HttpClient` from `dart:io` supports adding default header values to requests that don't already have them. Using this mechanism for the `x-powered-by` header retains current behavior, but allows...

Fixes https://github.com/dart-lang/shelf/issues/271

Starting up a hello world server with shelf I get this response: ``` HTTP/1.1 200 OK date: Sat, 20 Aug 2022 13:15:00 GMT content-length: 13 x-frame-options: SAMEORIGIN content-type: text/plain; charset=utf-8...

bug

Hi, I am using shelf_plus to respond a text. but if no obfuscating, it runs ok. after I obfuscating the code, with flutter build apk --obfuscate --split-debug-info=/doubantv/debug-info will reports an...

type-question

Is there any support for OpenAPI (preferably v3) or any known extensions / middleware for it? I know Conduit has it, but I do like that this package is supported...

enhancement

From `Pipeline` class: ```dart /// Note: this package also provides `addMiddleware` and `addHandler` extensions // members on [Middleware], which may be easier to use. class Pipeline { ``` Notice the...

I think Router Generator should not require trailing slashes on `@Mount` annotation anymore after [fix: mount remove trailing slash requirement #146](https://github.com/google/dart-neats/pull/146) I think the area to change is [this](https://github.com/dart-lang/shelf/blob/05f42601d22c9bfe490ceda50e812f83b7d1de77/pkgs/shelf_router_generator/lib/src/shelf_router_generator.dart#L283 )

bug

A FormatException is thrown when the transfer encoding header is set. Sample Code: ``` Future _fetchFileHandler(Request req) async { final Directory directory = await getApplicationDocumentsDirectory(); // Fetch AppData directory path...