Hugo

Results 1705 comments of Hugo

> I found the Problem with `ExtensionStatic` is that > > ```rust > const BASELINE_CONTROL: Method = Method::from_static(„BASELINE-CONTROL“); > > let m = Method::from_bytes(„BASELINE-CONTROL“); > > let is_baseline = match...

The derived implementation of `PartialEq` will consider `Inner::ExtensionAllocated` to always be different from `Inner::ExtensionStatic`, regardless of the value of their associated data. Possible solutions: - Re-implement `PartialEq` por `Inner`. This...

I believe that you are correct in all points.

Updated based on the latest discussion. I've reflected a short summary of the decision taken in the commit message.

> what is wrong with req.uri.path = "adf" ? This approach would not allow any validation at all.