You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`http`: breaking changes and minor improvements.
Moved server-only HTTP header constants to server-only modules.
`notFound` now uses named parameters.
`LiveBroad..response` now uses named parameters.
`HttpFile..response` now uses named parameters.
Various response-generating functions and methods now support
overriding the response class.
`fileResponse` now supports "modified since" HTTP headers, returning
a 304 response when a file hasn't been modified since the timestamp
provided in the request, if any. However, file responses don't have
the `last-modified` header by default. It can be set optionally.
Fixed a bug in `fileResponse` where files with 304 responses
were not registered with the provided live client, if any.
Variant of [#`Bmap`](#class-bmap) with support for key and value checks. Subclasses must override methods `.reqKey` and `.reqVal`. These methods are automatically called by `.set`. Method `.reqKey` must validate and return the given key, and method `.reqVal` must validate and return the given value. Use type assertions provided by [`lang`](lang_readme.md).
// Immediately ready for use. Tag is automatically set to `a-btn`.
33
33
// The mixin `MixReg` enables automatic registration on instantiation.
@@ -66,7 +66,7 @@ Apps which use server-side rendering and client-side upgrading of custom element
66
66
Instead, use `dr.reg`, which is also used internally by `MixReg`. This is simply a shortcut for using the [#default registry](#class-reg) provided by this module.
0 commit comments