alfred icon indicating copy to clipboard operation
alfred copied to clipboard

OPTIONS via package:http

Open modulovalue opened this issue 4 years ago • 0 comments

Hello Ryan,

https://github.com/rknell/alfred/blob/32e30393c9d49965b29553fbbfc9a9f3130538fe/test/alfred_test.dart#L165-L166

fyi

      final response = await Response.fromStream(
        await http.Client().send(
          http.Request("OPTIONS", Uri.parse("http://localhost:$port/test")),
        ),
      );
      expect(response.body, "test string");

modulovalue avatar Sep 02 '21 07:09 modulovalue