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
Returns a slice of subdomains in the domain name of the request.
1347
+
Returns a slice with the host’s sub-domain labels. The dot-separated parts that precede the registrable domain(`example`) and the top-level domain (ex: `com`).
1348
1348
1349
-
The application property `subdomain offset`, which defaults to `2`, is used for determining the beginning of the subdomain segments.
1349
+
The `subdomain offset` (default`2`) tells Fiber how many labels, counting from the right-hand side, are always discarded.
1350
+
Passing an `offset` argument lets you override that value for a single call.
Transfers the file from the given path as an `attachment`.
1588
1600
1589
-
Typically, browsers will prompt the user to download. By default, the [Content-Disposition](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition) header `filename=` parameter is the file path (_this typically appears in the browser dialog_).
1590
-
Override this default with the **filename** parameter.
1601
+
Typically, browsers will prompt the user to download. By default, the [Content-Disposition](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition) header `filename=` parameter is the file path (this typically appears in the browser dialog).
1602
+
Override this default with the `filename` parameter.
0 commit comments