Wonwoo Choi
Wonwoo Choi
그럼 대부분의 구현체가 따라오는 공백을 함께 입력받으니까, 정수를 입력받을 때 - 뒤에 공백이 오면 함께 입력받습니다. - 공백 외의 문자가 오면 입력받지 않습니다. 로 하면 어떨까요? 또 공백 문자에 해당되는...
Related PR: http-rs/http-types#83
`http_types::Error` not implementing `std::error::Error` is preventing Tide's `Status` impls applied to `Result`. cc @yoshuawuyts
I guess the compiler thinks `F` might implement both `Fn(Request) -> Fut` and `Fn(Request, State) -> Fut`. You can make such a type with `#![feature(fn_traits, unboxed_closures)]` by manually implementing `Fn`...
Well rustfmt is broken for over a week according to rust-toolstate, I haven't seen this before. Maybe we really need beta?
I'd also prefer having none of the middleware applied by default, especially in the nested app scenario, where default middleware would be applied multiple times. Tide could provide some convenience...
Maybe we can use regex to approach this. We can convert path expression into regex mechanically. Might contain some errors, but here's the rules: * Prepend `^` and append `$`...
I didn't know about `route-recognizer`! Originally, I thought about a regex-like algorithm for route matching, but discarded that idea as it'd require implementing state machines that is not so easy....
I've applied this patch to my server, but Discord still shows only the first one. Rendered pages were ok; there were multiple `og:image`'s when I checked it with curl.
It happens with every image I test, couldn't find one that doesn't crash.